summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
diff options
context:
space:
mode:
authorBjorn Andersson <quic_bjorande@quicinc.com>2024-02-10 20:42:00 -0800
committerBjorn Andersson <andersson@kernel.org>2024-02-13 23:30:01 -0600
commita36a566b5365ab96ed8cfc195478be77811c8708 (patch)
tree7cedb4ea60a0e0aad2711b481f52a2af9233674c /arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
parent6cca740cf345e24fa6bdfeae9236bfb4c6f90c3b (diff)
downloadlwn-a36a566b5365ab96ed8cfc195478be77811c8708.tar.gz
lwn-a36a566b5365ab96ed8cfc195478be77811c8708.zip
arm64: dts: qcom: sc8280xp-pmics: Define adc for temp-alarms
sc8280xp-pmics define the two thermal zones "pm8280-1-thermal" and "pm8280-2-thermal", but the related temp-alarm instances are not tied to any adc channels, and as such continuously report the bogus temperature of 37C. After previously defining these adc channels across all boards using sc8280xp-pmics.dtsi, we can now add these references. This does however mean that we have a non-disabled node referencing default-disabled nodes, requiring each board to enable the pmk8280_vadc. Avoid this by marking pmk8280_vadc okay. Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240210-sc8280xp-pmic-thermal-v1-2-a1c215a17d10@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts2
1 files changed, 0 insertions, 2 deletions
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 ce2564a6c26e..ad42966c94e5 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
@@ -851,8 +851,6 @@
};
&pmk8280_vadc {
- status = "okay";
-
channel@144 {
reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
qcom,hw-settle-time = <200>;