ARM: dts: qcom: Update pm7250b alram sensor thermal config for HOLI

Add pm7250b pmic alram thermal zone mitigation with battery
cooling device.

Change-Id: Icd51766dcbbc78ddaa7fd18e3965454c6dd96473
This commit is contained in:
Gopala Krishna Nuthaki 2020-08-29 01:57:20 +05:30 • committed by Gerrit - the friendly Code Review server
commit c7a22b2cfa
2 changed files with 23 additions and 1 deletions

View file

@ -4,6 +4,10 @@
#cooling-cells = <2>;
};
&pm7250b_charger {
#cooling-cells = <2>;
};
&thermal_zones {
socd {
cooling-maps {
@ -19,6 +23,24 @@
};
};
pm7250b_tz {
cooling-maps {
battery_cdev0 {
trip = <&pm7250b_trip0>;
cooling-device =
<&pm7250b_charger (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
battery_cdev1 {
trip = <&pm7250b_trip1>;
cooling-device =
<&pm7250b_charger THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
};
};
pm6350_tz {
cooling-maps {
trip0_cpu0 {

View file

@ -423,7 +423,7 @@
};
&thermal_zones {
pm7250b-tz {
pm7250b_tz {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-governor = "step_wise";