From: Manivannan Sadhasivam Date: Thu, 3 Nov 2022 09:58:06 +0000 (+0530) Subject: arm64: dts: qcom: sc8280xp-x13s: Add PMK8280 VADC channels X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9a6b3042c5337141a2ad202c6e6a28e4e0440c29;p=linux.git arm64: dts: qcom: sc8280xp-x13s: Add PMK8280 VADC channels Add VADC channels for measuring the on-chip die temperature and external crystal osciallator temperature of PMK8280. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Signed-off-by: Manivannan Sadhasivam Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20221103095810.64606-9-manivannan.sadhasivam@linaro.org --- diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 0a332031f0d9b..ee4b82a54cba2 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -7,6 +7,7 @@ /dts-v1/; #include +#include #include #include "sc8280xp.dtsi" @@ -173,6 +174,21 @@ status = "okay"; }; +&pmk8280_vadc { + status = "okay"; + + pmic-die-temp@3 { + reg = ; + qcom,pre-scaling = <1 1>; + }; + + xo-therm@44 { + reg = ; + qcom,hw-settle-time = <200>; + qcom,ratiometric; + }; +}; + &qup0 { status = "okay"; };