From ee11d4c1ad5a17d264d59442421a5aa248b2d8b5 Mon Sep 17 00:00:00 2001 From: David Collins Date: Wed, 27 Mar 2024 14:27:01 -0700 Subject: [PATCH] ARM: dts: qcom: specify PM8550VE_F temp-alarm ADC channel for sun V8 Add properties to the PM8550VE_F spmi-temp-alarm device to specify it's die temperature ADC channel on Sun power grid V8 boards. This ensures that software is able to read it's precise die temperature instead of estimating it based on the TEMP_ALARM peripheral over-temperature stage. Change-Id: I726e2ca236db94ef8aa7f6c19b3f4c74f745c763 Signed-off-by: David Collins --- qcom/sun-pmic-overlay-v8.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcom/sun-pmic-overlay-v8.dtsi b/qcom/sun-pmic-overlay-v8.dtsi index 772097a9..58f407d2 100644 --- a/qcom/sun-pmic-overlay-v8.dtsi +++ b/qcom/sun-pmic-overlay-v8.dtsi @@ -35,6 +35,11 @@ status = "ok"; }; +&pm8550ve_f_tz { + io-channels = <&pmk8550_vadc PM8550VX_ADC5_GEN3_DIE_TEMP(5)>; + io-channel-names = "thermal"; +}; + &S8F_LEVEL { regulator-name = "pm_v8f_s8_level"; };