Loading arch/arm64/boot/dts/qcom/sdm670-mtp.dtsi +3 −0 Original line number Diff line number Diff line Loading @@ -371,4 +371,7 @@ xo-therm-mdm-step { status = "disabled"; }; xo-therm-batt-step { status = "disabled"; }; }; arch/arm64/boot/dts/qcom/sdm670-pmic-overlay.dtsi +60 −0 Original line number Diff line number Diff line Loading @@ -385,3 +385,63 @@ vbus_dwc3-supply = <&smb2_vbus>; qcom,no-vbus-vote-with-type-C; }; &thermal_zones { xo-therm-batt-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&pm660_adc_tm 0x4c>; thermal-governor = "step_wise"; trips { batt_trip1: batt-trip1 { temperature = <40000>; hysteresis = <2000>; type = "passive"; }; batt_trip2: batt-trip2 { temperature = <45000>; hysteresis = <2000>; type = "passive"; }; batt_trip3: batt-trip3 { temperature = <48000>; hysteresis = <3000>; type = "passive"; }; batt_trip4: batt-trip4 { temperature = <50000>; hysteresis = <2000>; type = "passive"; }; batt_trip5: batt-trip5 { temperature = <52000>; hysteresis = <2000>; type = "passive"; }; }; cooling-maps { battery_lvl1 { trip = <&batt_trip1>; cooling-device = <&pm660_charger 1 1>; }; battery_lvl2 { trip = <&batt_trip2>; cooling-device = <&pm660_charger 2 2>; }; battery_lvl3 { trip = <&batt_trip3>; cooling-device = <&pm660_charger 3 3>; }; battery_lvl4 { trip = <&batt_trip4>; cooling-device = <&pm660_charger 4 4>; }; battery_lvl5 { trip = <&batt_trip5>; cooling-device = <&pm660_charger 5 5>; }; }; }; }; arch/arm64/boot/dts/qcom/sdm670-thermal.dtsi +2 −2 Original line number Diff line number Diff line Loading @@ -1539,7 +1539,7 @@ type = "passive"; }; silver_trip1: silver-trip1 { temperature = <48000>; temperature = <50000>; hysteresis = <0>; type = "passive"; }; Loading Loading @@ -1606,7 +1606,7 @@ }; modem_trip2: modem-trip2 { temperature = <48000>; hysteresis = <2000>; hysteresis = <3000>; type = "passive"; }; modem_trip3: modem-trip3 { Loading Loading
arch/arm64/boot/dts/qcom/sdm670-mtp.dtsi +3 −0 Original line number Diff line number Diff line Loading @@ -371,4 +371,7 @@ xo-therm-mdm-step { status = "disabled"; }; xo-therm-batt-step { status = "disabled"; }; };
arch/arm64/boot/dts/qcom/sdm670-pmic-overlay.dtsi +60 −0 Original line number Diff line number Diff line Loading @@ -385,3 +385,63 @@ vbus_dwc3-supply = <&smb2_vbus>; qcom,no-vbus-vote-with-type-C; }; &thermal_zones { xo-therm-batt-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&pm660_adc_tm 0x4c>; thermal-governor = "step_wise"; trips { batt_trip1: batt-trip1 { temperature = <40000>; hysteresis = <2000>; type = "passive"; }; batt_trip2: batt-trip2 { temperature = <45000>; hysteresis = <2000>; type = "passive"; }; batt_trip3: batt-trip3 { temperature = <48000>; hysteresis = <3000>; type = "passive"; }; batt_trip4: batt-trip4 { temperature = <50000>; hysteresis = <2000>; type = "passive"; }; batt_trip5: batt-trip5 { temperature = <52000>; hysteresis = <2000>; type = "passive"; }; }; cooling-maps { battery_lvl1 { trip = <&batt_trip1>; cooling-device = <&pm660_charger 1 1>; }; battery_lvl2 { trip = <&batt_trip2>; cooling-device = <&pm660_charger 2 2>; }; battery_lvl3 { trip = <&batt_trip3>; cooling-device = <&pm660_charger 3 3>; }; battery_lvl4 { trip = <&batt_trip4>; cooling-device = <&pm660_charger 4 4>; }; battery_lvl5 { trip = <&batt_trip5>; cooling-device = <&pm660_charger 5 5>; }; }; }; };
arch/arm64/boot/dts/qcom/sdm670-thermal.dtsi +2 −2 Original line number Diff line number Diff line Loading @@ -1539,7 +1539,7 @@ type = "passive"; }; silver_trip1: silver-trip1 { temperature = <48000>; temperature = <50000>; hysteresis = <0>; type = "passive"; }; Loading Loading @@ -1606,7 +1606,7 @@ }; modem_trip2: modem-trip2 { temperature = <48000>; hysteresis = <2000>; hysteresis = <3000>; type = "passive"; }; modem_trip3: modem-trip3 { Loading