diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2015-04-29 02:13:30 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:44:44 +0900 |
commit | 1e70462c5302dc7dee3ee3797e6a16fd3fbd7993 (patch) | |
tree | bcb557158f77432600dc00ffa572be9ad4c5143d | |
parent | d25dcdafc9cd8ac1240cd2f93e6fe4bc1ee1396e (diff) |
clk: exynos5433: Add power domain notifier to diplay cmu.
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
-rw-r--r-- | drivers/clk/samsung/clk-exynos5433.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index 92b23efeb706..f11cb640d8b5 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -3004,13 +3004,15 @@ static struct samsung_cmu_info disp_cmu_info __initdata = { .fixed_factor_clks = disp_fixed_factor_clks, .nr_fixed_factor_clks = ARRAY_SIZE(disp_fixed_factor_clks), .nr_clk_ids = DISP_NR_CLK, - .clk_regs = disp_clk_regs, - .nr_clk_regs = ARRAY_SIZE(disp_clk_regs), }; static void __init exynos5433_cmu_disp_init(struct device_node *np) { samsung_cmu_register_one(np, &disp_cmu_info); + + if (of_get_property(np, "power-domains", NULL)) + exynos5433_cmu_pd_handler_init(np, disp_clk_regs, + ARRAY_SIZE(disp_clk_regs)); } CLK_OF_DECLARE(exynos5433_cmu_disp, "samsung,exynos5433-cmu-disp", |