From b522afd141aac483a3e28e70e89d2439fda29e83 Mon Sep 17 00:00:00 2001 From: Kavya Nunna Date: Fri, 22 Nov 2024 17:43:24 +0530 Subject: [PATCH] ARM: dts: msm: Remove sys-therm-1 from thermal zones for tuna Remove sys-therm-1 thermal zone from tuna thermal zone list as it is taken care in mpss side. Fix typo in label names for adc channel names for pm8550ve and pm8550vs and update io channels for pmxr2230_tz. Change-Id: I6f4c772a3fc662f0d8685ea1f4672fc8ebea46d7 Signed-off-by: Kavya Nunna --- qcom/tuna-pmic-overlay.dtsi | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/qcom/tuna-pmic-overlay.dtsi b/qcom/tuna-pmic-overlay.dtsi index bc82d7e3..5ad22868 100644 --- a/qcom/tuna-pmic-overlay.dtsi +++ b/qcom/tuna-pmic-overlay.dtsi @@ -184,25 +184,6 @@ }; }; - sys-therm-1 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&pmk8550_vadc PMXR2230_ADC5_GEN3_AMUX_THM5_100K_PU>; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; - type = "passive"; - }; - - active-config1 { - temperature = <125000>; - hysteresis = <1000>; - type = "passive"; - }; - }; - }; - sys-therm-2 { polling-delay-passive = <0>; polling-delay = <0>; @@ -432,13 +413,13 @@ pm8550vs_g_die_temp { reg = ; - label = "pm8550vs_j_die_temp"; + label = "pm8550vs_g_die_temp"; qcom,pre-scaling = <1 1>; }; pm8550ve_f_die_temp { reg = ; - label = "pm8550ve_d_die_temp"; + label = "pm8550ve_f_die_temp"; qcom,pre-scaling = <1 1>; }; @@ -458,3 +439,8 @@ io-channels = <&pmk8550_vadc PM8550VX_ADC5_GEN3_DIE_TEMP(5)>; io-channel-names = "thermal"; }; + +&pmxr2230_tz { + io-channels = <&pmk8550_vadc PMXR2230_ADC5_GEN3_DIE_TEMP>; + io-channel-names = "thermal"; +};