]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: exynos: Add syscon compatible to clock controller on Exynos542x
authorLukasz Luba <l.luba@partner.samsung.com>
Wed, 21 Aug 2019 10:43:01 +0000 (12:43 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 1 Oct 2019 18:29:02 +0000 (20:29 +0200)
In order to get the clock by phandle and use it with regmap it needs to be
compatible with syscon. The DMC driver uses two registers from clock
register set and needs the regmap of them.

Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5420.dtsi
arch/arm/boot/dts/exynos5800.dtsi

index 7d51e0f4ab79ad9544c8141aee439ecc540c3328..a43970b3fc83d6d57f18ac7342139b2e8460aed0 100644 (file)
@@ -175,7 +175,7 @@ cci_control1: slave-if@5000 {
                };
 
                clock: clock-controller@10010000 {
-                       compatible = "samsung,exynos5420-clock";
+                       compatible = "samsung,exynos5420-clock", "syscon";
                        reg = <0x10010000 0x30000>;
                        #clock-cells = <1>;
                };
index de639eecc5c913c5e8628eea4f9f50460120e23e..16177d815ee45972dd13ebbc873e245d776057de 100644 (file)
@@ -17,7 +17,7 @@ / {
 };
 
 &clock {
-       compatible = "samsung,exynos5800-clock";
+       compatible = "samsung,exynos5800-clock", "syscon";
 };
 
 &cluster_a15_opp_table {