From 1e7e3fbdd188d44d6b8de49ca7fb9b663791133c Mon Sep 17 00:00:00 2001 From: chenyb1 Date: Wed, 14 Oct 2020 10:38:32 +0800 Subject: [PATCH] Thermal: Bring up NTC for Denver Config the NTCs of Denver. On board NTC without 5G configuration. Change-Id: I98e81ea149ea9bf0fa9b8e894cc24ab7e1d68cc3 Reviewed-on: https://gerrit.mot.com/1773441 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Lu Chai Reviewed-by: Jichao Zou Submit-Approved: Jira Key --- qcom/holi-denver-common-overlay.dtsi | 115 +++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/qcom/holi-denver-common-overlay.dtsi b/qcom/holi-denver-common-overlay.dtsi index 02cb3c7d2a8b..cc0b4831f590 100644 --- a/qcom/holi-denver-common-overlay.dtsi +++ b/qcom/holi-denver-common-overlay.dtsi @@ -123,6 +123,121 @@ }; }; +&thermal_zones { + pa-therm0-usr { + status = "disabled"; + }; + sdm-skin-therm-usr { + status = "disabled"; + }; + pa-therm1-usr { + status = "disabled"; + }; + quiet-therm-usr { + status = "disabled"; + }; + rfc-cam-pa3-usr { + status = "disabled"; + }; + camera-therm-usr { + status = "disabled"; + }; + chg-skin-therm-usr { + status = "disabled"; + }; + conn-therm-usr { + status = "disabled"; + }; + xo-therm-usr { + status = "disabled"; + }; + pa_therm2 { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM1_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + msm_therm { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pm6150l_adc_tm_iio ADC5_AMUX_THM2_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + pa_therm1 { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM1_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + quiet_therm { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO4_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + chg_therm { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM1_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + xo_therm { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM1_100K_PU>; + wake-capable-sensor; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; +}; + &pm8008_8 { status = "disabled"; };