Skip to content

Commit

Permalink
ARM: dts: Add CPU cooling binding for exynos3250 boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chanwoo Choi authored and Kukjin Kim committed Aug 13, 2015
1 parent df09df6 commit 5600f8c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/exynos3250-monk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,21 @@
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 {
Expand Down
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/exynos3250-rinato.dts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,21 @@
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 {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos3250.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
clock-frequency = <1000000000>;
clocks = <&cmu CLK_ARM_CLK>;
clock-names = "cpu";
#cooling-cells = <2>;

operating-points = <
1000000 1150000
Expand Down

0 comments on commit 5600f8c

Please sign in to comment.