ARM: dts: Add CPU cooling binding for exynos3250 boards
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 30 Jul 2015 14:02:22 +0000 (23:02 +0900)
committerKukjin Kim <kgene@kernel.org>
Thu, 13 Aug 2015 17:08:56 +0000 (02:08 +0900)
This patch add the cooling device to control the overheating issue on
Exynos3250-based Rinato/Monk board.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos3250-monk.dts
arch/arm/boot/dts/exynos3250-rinato.dts
arch/arm/boot/dts/exynos3250.dtsi

index 7863265..540a0ad 100644 (file)
                min-microvolt = <1100000>;
                max-microvolt = <2700000>;
        };
+
+       thermal-zones {
+               cpu_thermal: cpu-thermal {
+                       cooling-maps {
+                               map0 {
+                                       /* Correspond to 500MHz at freq_table */
+                                       cooling-device = <&cpu0 5 5>;
+                               };
+                               map1 {
+                                       /* Correspond to 200MHz at freq_table */
+                                       cooling-device = <&cpu0 8 8>;
+                               };
+                       };
+               };
+       };
 };
 
 &adc {
index ddd7ac2..0e62a64 100644 (file)
                min-microvolt = <1100000>;
                max-microvolt = <2700000>;
        };
+
+       thermal-zones {
+               cpu_thermal: cpu-thermal {
+                       cooling-maps {
+                               map0 {
+                                       /* Corresponds to 500MHz */
+                                       cooling-device = <&cpu0 5 5>;
+                               };
+                               map1 {
+                                       /* Corresponds to 200MHz */
+                                       cooling-device = <&cpu0 8 8>;
+                               };
+                       };
+               };
+       };
 };
 
 &adc {
index 9e58a23..033def4 100644 (file)
@@ -55,6 +55,7 @@
                        clock-frequency = <1000000000>;
                        clocks = <&cmu CLK_ARM_CLK>;
                        clock-names = "cpu";
+                       #cooling-cells = <2>;
 
                        operating-points = <
                                1000000 1150000