diff --git a/qcom/holi-corfup-common-overlay.dtsi b/qcom/holi-corfup-common-overlay.dtsi index 7cc8f784f956..ec7f4925e377 100644 --- a/qcom/holi-corfup-common-overlay.dtsi +++ b/qcom/holi-corfup-common-overlay.dtsi @@ -284,6 +284,28 @@ }; }; +&pm7250b_vadc { + cp_therm { + reg = ; + label = "cp_therm"; + qcom,ratiometric; + 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>; + + cp_therm { + reg = ; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + }; +}; + &thermal_zones { pa-therm0-usr { status = "disabled"; @@ -396,9 +418,9 @@ }; }; }; - cam_flash_therm { - polling-delay-passive = <0>; - polling-delay = <0>; + conn_therm { + polling-delay-passive = <5000>; + polling-delay = <20000>; thermal-governor = "user_space"; thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM3_100K_PU>; wake-capable-sensor; @@ -410,6 +432,34 @@ }; }; }; + cp_therm { + polling-delay-passive = <5000>; + polling-delay = <20000>; + thermal-governor = "user_space"; + thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM2_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + cam_flash_therm { + polling-delay-passive = <5000>; + polling-delay = <20000>; + thermal-governor = "user_space"; + thermal-sensors = <&pm6150l_adc_tm_iio ADC5_GPIO2_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; xo_therm { polling-delay-passive = <5000>; polling-delay = <20000>;