diff --git a/qcom/blair-fogos-common-overlay.dtsi b/qcom/blair-fogos-common-overlay.dtsi index c2f73efdca94..7b70dc662a30 100644 --- a/qcom/blair-fogos-common-overlay.dtsi +++ b/qcom/blair-fogos-common-overlay.dtsi @@ -302,6 +302,56 @@ }; }; +&pm7250b_vadc { + charger_skin_therm { + reg = ; + label = "charger_skin_therm"; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + }; + + conn_therm { + reg = ; + label = "conn_therm"; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + }; + + chg_therm@e { + reg = ; + label = "chg_therm"; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + }; +}; + + +&pm7250b_adc_tm { + io-channels = <&pm7250b_vadc ADC5_AMUX_THM1_100K_PU>, + <&pm7250b_vadc ADC5_AMUX_THM2_100K_PU>, + <&pm7250b_vadc ADC5_AMUX_THM3_100K_PU>; + + charger_skin_therm { + reg = ; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + }; + + chg_therm { + reg = ; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + }; + + conn_therm { + reg = ; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + }; +}; + &thermal_zones { sdm-skin-therm-usr { status = "disabled"; @@ -333,6 +383,11 @@ chg-skin-therm-usr { status = "disabled"; }; + + conn-therm-usr { + status = "disabled"; + }; + msm_therm { polling-delay-passive = <0>; polling-delay = <0>; @@ -367,7 +422,7 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; - thermal-sensors = <&pm6125_adc_tm ADC5_GPIO3_100K_PU>; + thermal-sensors = <&pm6125_adc_tm_iio ADC5_GPIO2_100K_PU>; wake-capable-sensor; trips { active-config0 { @@ -443,11 +498,12 @@ }; }; }; - qtm_n_therm { + + chg_pump_therm { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; - thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM2_100K_PU>; + thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM2_100K_PU>; wake-capable-sensor; trips { active-config0 { @@ -458,11 +514,11 @@ }; }; - qtm_e_therm { + conn_therm { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; - thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM4_100K_PU>; + thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM3_100K_PU>; wake-capable-sensor; trips { active-config0 { @@ -472,11 +528,20 @@ }; }; }; - soc_usr { - polling-delay-passive = <1000>; + + tspk_therm { + polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; - thermal-sensors = <&bcl_soc>; + thermal-sensors = <&pm6125_adc_tm ADC5_GPIO3_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; }; };