ARM: dts: msm: Define thermal zone for PMI632 temperature sensor
Add thermal zone definition for pmi632_tz temperature sensor.
Change-Id: Ib3b8a6d7d87002fcc234d2c43cd1a47728d48c9c
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/pmi632.dtsi b/arch/arm64/boot/dts/qcom/pmi632.dtsi
index 52298e7..a2bb1ed 100644
--- a/arch/arm64/boot/dts/qcom/pmi632.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi632.dtsi
@@ -695,4 +695,29 @@
};
};
};
+
+ pmi632_tz {
+ polling-delay-passive = <0>;
+ polling-delay = <0>;
+ thermal-governor = "step_wise";
+ thermal-sensors = <&pmi632_tz>;
+
+ trips {
+ pmi632_tz_trip0: pmi632-trip0 {
+ temperature = <105000>;
+ hysteresis = <0>;
+ type = "passive";
+ };
+ pmi632_tz_trip1: pmi632-trip1 {
+ temperature = <125000>;
+ hysteresis = <0>;
+ type = "passive";
+ };
+ pmi632_tz_trip2: pmi632-trip2 {
+ temperature = <145000>;
+ hysteresis = <0>;
+ type = "passive";
+ };
+ };
+ };
};