ARM: dts: Exynos4x12: add CPU OPP and regulator supply property
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 10 Apr 2015 17:59:00 +0000 (19:59 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 14 May 2015 05:42:53 +0000 (14:42 +0900)
For Exynos4x12 platforms, add CPU operating points and CPU
regulator supply properties for migrating from Exynos specific
cpufreq driver to using generic cpufreq driver.

Based on the earlier work by Thomas Abraham.

Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: Andreas Faerber <afaerber@suse.de>
Cc: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Andreas Farber <afaerber@suse.de>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
arch/arm/boot/dts/exynos4212.dtsi
arch/arm/boot/dts/exynos4412-odroid-common.dtsi
arch/arm/boot/dts/exynos4412-origen.dts
arch/arm/boot/dts/exynos4412-trats2.dts
arch/arm/boot/dts/exynos4412.dtsi

index 5be03288f1ee6157cf35849c256743c9ff86b70d..f97e4b5b304d410f393778052c52e09a5771b9e4 100644 (file)
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0xA00>;
+                       clocks = <&clock CLK_ARM_CLK>;
+                       clock-names = "cpu";
+
+                       operating-points = <
+                               1400000 1287500
+                               1300000 1250000
+                               1200000 1187500
+                               1100000 1137500
+                               1000000 1087500
+                                900000 1037500
+                                800000 1000000
+                                700000  987500
+                                600000  975000
+                                500000  950000
+                                400000  925000
+                                300000  900000
+                                200000  900000
+                       >;
+                       boost-opps = <
+                               1500000 1350000
+                       >;
+                       clock-latency = <200000>;
                        cooling-min-level = <13>;
                        cooling-max-level = <7>;
                        #cooling-cells = <2>; /* min followed by max */
index 8b28c28d03c5105ca3db4f6e58217b5ccffc2b8c..c252212fa4ca15819a2a6bf2d246ab3621e735af 100644 (file)
                samsung,pin-pud = <1>;
        };
 };
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index bd8b73077d41faed72e4465280dc3f58c50b7385..a9c957c7fc5f4273915e683e7e5301c9c863f046 100644 (file)
                };
        };
 };
+
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index 173ffa479ad3cb03eb6e6742663fafaccacf9d53..47f9b475702fddd5cf32924ffe5fffc74651b936 100644 (file)
                PIN_SLP(gpv4-0, INPUT, DOWN);
        };
 };
+
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index 68ad43b391ae6122c3783b443cf23b5ccb7a2d04..903981e8cb88f3d83283beff2cc55ca8f51d983d 100644 (file)
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0xA00>;
+                       clocks = <&clock CLK_ARM_CLK>;
+                       clock-names = "cpu";
+
+                       operating-points = <
+                               1400000 1287500
+                               1300000 1250000
+                               1200000 1187500
+                               1100000 1137500
+                               1000000 1087500
+                                900000 1037500
+                                800000 1000000
+                                700000  987500
+                                600000  975000
+                                500000  950000
+                                400000  925000
+                                300000  900000
+                                200000  900000
+                       >;
+                       boost-opps = <
+                               1500000 1350000
+                       >;
+                       clock-latency = <200000>;
                        cooling-min-level = <13>;
                        cooling-max-level = <7>;
                        #cooling-cells = <2>; /* min followed by max */