DT: arm64: exynos5433: Add SoC thermal zone for IPA
authorLukasz Luba <l.luba@partner.samsung.com>
Tue, 7 Aug 2018 10:43:37 +0000 (12:43 +0200)
committerLukasz Luba <l.luba@partner.samsung.com>
Fri, 17 May 2019 07:15:36 +0000 (09:15 +0200)
Draft support for future IPA tests.

Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi

index fe3a0b14bee61e00e92ceb2188ca822f6bd3136e..c3f6dac6743a9c82f042afddd3cdcae53d2bac0b 100644 (file)
@@ -289,5 +289,37 @@ thermal-zones {
                        };
                };
        };
+
+       soc_thermal_ipa: soc-thermal-ipa {
+               thermal-sensors = <&tmu_atlas0>;
+               polling-delay = <100>;
+               polling-delay-passive = <1000>;
+               sustainable-power = <2500>;
+               trips {
+                       threshold: threshold {
+                               temperature = <55000>;  /* millicelsius */
+                               hysteresis = <1000>;    /* millicelsius */
+                               type = "passive";
+                       };
+                       target: target {
+                               temperature = <70000>;  /* millicelsius */
+                               hysteresis = <1000>;    /* millicelsius */
+                               type = "passive";
+                       };
+               };
+
+               cooling-maps {
+                       map0 {
+                               trip = <&target>;
+                               cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                               contribution = <1024>;
+                       };
+                       map1 {
+                               trip = <&target>;
+                               cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                               contribution = <2048>;
+                       };
+               };
+       };
 };
 };