From 374ec51be1b78ce3f2abf15ad2d64ebcd1951e55 Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Mon, 20 Apr 2020 11:13:51 -0700 Subject: [PATCH] ARM: dts: msm: Add modem ADC thermistors for Lahaina Add millimeter wave related thermistors from modem to be exposed as thermal zone in lahaina. Change-Id: Ic09b20ba77b17472ab96bddcac0de50730b3d3bb --- qcom/lahaina-thermal-modem.dtsi | 66 ++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/qcom/lahaina-thermal-modem.dtsi b/qcom/lahaina-thermal-modem.dtsi index de5ea26af211..2f48298963ba 100644 --- a/qcom/lahaina-thermal-modem.dtsi +++ b/qcom/lahaina-thermal-modem.dtsi @@ -112,7 +112,11 @@ "qfe_wtr_pa3", "sys_therm1", "sys_therm2", - "modem_tsens1"; + "modem_tsens1", + "mmw_pa1", + "mmw_pa2", + "mmw_pa3", + "sdr_mmw_therm"; }; }; }; @@ -357,4 +361,64 @@ }; }; }; + + modem-mmw-pa1-usr { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&qmi_sensor + (QMI_MODEM_INST_ID+QMI_MMW_PA1)>; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + modem-mmw-pa2-usr { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&qmi_sensor + (QMI_MODEM_INST_ID+QMI_MMW_PA2)>; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + modem-mmw-pa3-usr { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&qmi_sensor + (QMI_MODEM_INST_ID+QMI_MMW_PA3)>; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + modem-sdr-mmw-usr { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "user_space"; + thermal-sensors = <&qmi_sensor + (QMI_MODEM_INST_ID+QMI_SDR_MMW)>; + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; };