diff --git a/qcom/holi-thermal-overlay.dtsi b/qcom/holi-thermal-overlay.dtsi index f9c2e39e0dec..1eaf50bcf0f6 100644 --- a/qcom/holi-thermal-overlay.dtsi +++ b/qcom/holi-thermal-overlay.dtsi @@ -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 { diff --git a/qcom/pm7250b.dtsi b/qcom/pm7250b.dtsi index 4e2c3c9603b1..12a626a950a8 100644 --- a/qcom/pm7250b.dtsi +++ b/qcom/pm7250b.dtsi @@ -423,7 +423,7 @@ }; &thermal_zones { - pm7250b-tz { + pm7250b_tz { polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise";