aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-30 15:51:46 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-09-02 17:46:28 +0200
commit5d2bb6621caa66f6912f91b4565ee945aea20258 (patch)
tree12f402fd53871ca16a4c5638801966985c44c81a
parentARM: dts: exynos: Override thermal by label in Trats (diff)
downloadlinux-dev-5d2bb6621caa66f6912f91b4565ee945aea20258.tar.xz
linux-dev-5d2bb6621caa66f6912f91b4565ee945aea20258.zip
ARM: dts: exynos: Add CPU cooling in Exynos4210 Origen
Add missing cooling devices for CPU thermal zones in Exynos4210 Origen board. This allows to scale down CPU frequency (and voltage) in case of thermal pressure. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200830135200.24304-19-krzk@kernel.org
-rw-r--r--arch/arm/boot/dts/exynos4210-origen.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index 747221bbb856..7d2cfbafefb2 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -129,6 +129,19 @@
cpu0-supply = <&buck1_reg>;
};
+&cpu_thermal {
+ cooling-maps {
+ map0 {
+ /* Corresponds to 800MHz */
+ cooling-device = <&cpu0 2 2>;
+ };
+ map1 {
+ /* Corresponds to 200MHz */
+ cooling-device = <&cpu0 4 4>;
+ };
+ };
+};
+
&exynos_usbphy {
status = "okay";
};