summaryrefslogtreecommitdiffstats
path: root/drivers/clk/samsung/clk-exynos5-subcmu.c
diff options
context:
space:
mode:
authorMarek Szyprowski2018-03-06 15:33:10 +0100
committerSylwester Nawrocki2018-03-06 17:39:40 +0100
commitedcefb96fb07f6742fd47ac60915e76c1b77768e (patch)
treec488981f64d8f3ad239df3098254b08b5d9f1716 /drivers/clk/samsung/clk-exynos5-subcmu.c
parentclk: samsung: exynos5420: Move PD-dependent clocks to Exynos5 sub-CMU (diff)
downloadkernel-qcow2-linux-edcefb96fb07f6742fd47ac60915e76c1b77768e.tar.gz
kernel-qcow2-linux-edcefb96fb07f6742fd47ac60915e76c1b77768e.tar.xz
kernel-qcow2-linux-edcefb96fb07f6742fd47ac60915e76c1b77768e.zip
clk: samsung: exynos5250: Move PD-dependent clocks to Exynos5 sub-CMU
Clocks related to DISP1 block require special handling for power domain turn on/off sequences. Till now this was handled by Exynos power domain driver, but that approach was limited only to some special cases. This patch moves handling of those operations to clock controller driver. This gives more flexibility and allows fine tune values of some clock-specific registers. This patch moves handling of those mentioned clocks to Exynos5 sub-CMU driver instantiated from Exynos5250 driver. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk-exynos5-subcmu.c')
-rw-r--r--drivers/clk/samsung/clk-exynos5-subcmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/samsung/clk-exynos5-subcmu.c b/drivers/clk/samsung/clk-exynos5-subcmu.c
index bea10f4b3ee2..93306283d764 100644
--- a/drivers/clk/samsung/clk-exynos5-subcmu.c
+++ b/drivers/clk/samsung/clk-exynos5-subcmu.c
@@ -165,6 +165,7 @@ static int __init exynos5_clk_probe(struct platform_device *pdev)
}
static const struct of_device_id exynos5_clk_of_match[] = {
+ { .compatible = "samsung,exynos5250-clock", },
{ .compatible = "samsung,exynos5420-clock", },
{ .compatible = "samsung,exynos5800-clock", },
{ },