ARM: dts: msm: Add thermal zones for pm2250

Add thermal zones required for temp-alarm driver for pm2250

Change-Id: Ib5f8de6df281fa026f01dccbfaac3762b338ab9e
This commit is contained in:
Shyam Kumar Thella 2020-12-23 11:33:50 +05:30
commit a05aab455c
2 changed files with 32 additions and 0 deletions

View file

@ -370,3 +370,33 @@
};
};
};
&thermal_zones {
pm2250_tz {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&pm2250_tz>;
wake-capable-sensor;
trips {
pm2250_trip0: trip0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
pm2250_trip1: trip1 {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
trip2 {
temperature = <145000>;
hysteresis = <0>;
type = "critical";
};
};
};
};

View file

@ -446,6 +446,8 @@
qcom,guard-memory;
};
thermal_zones: thermal-zones { };
qfprom: qfprom@1b40000 {
compatible = "qcom,qfprom";
reg = <0x1b40000 0x7000>;