mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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:
parent
3606f987e7
commit
a05aab455c
2 changed files with 32 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -446,6 +446,8 @@
|
|||
qcom,guard-memory;
|
||||
};
|
||||
|
||||
thermal_zones: thermal-zones { };
|
||||
|
||||
qfprom: qfprom@1b40000 {
|
||||
compatible = "qcom,qfprom";
|
||||
reg = <0x1b40000 0x7000>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue