summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2022-08-27 03:49:00 +0300
committerBjorn Andersson <andersson@kernel.org>2022-08-30 01:25:06 +0300
commit144fbd028fdec2deeb3b99d5e60dbf3167950ebe (patch)
tree2dc3fa95eeb9f51b7c1155e747bb6e61ece841e2 /arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
parenteeca7d46217ccfe9289530e959c0fb29190af0d6 (diff)
downloadlinux-144fbd028fdec2deeb3b99d5e60dbf3167950ebe.tar.xz
arm64: dts: qcom: sc7180-trogdor: Keep pm6150_adc enabled for TZ
There's still a thermal zone using pm6150_adc in the pm6150.dtsi file, pm6150_thermal. It's not super obvious because it indirectly uses the adc through an iio channel in pm6150_temp. Let's keep this enabled on lazor and coachz so that reading the temperature of the pm6150_thermal zone continues to work. Otherwise we get -EINVAL when reading the zone, and I suspect the PMIC temperature trip doesn't work properly so we don't shutdown when the PMIC overheats. Cc: Matthias Kaehlcke <mka@chromium.org> Fixes: b8d1e3d33487 ("arm64: dts: qcom: sc7180-trogdor: Delete ADC config for unused thermistors") Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20220827004901.511543-1-swboyd@chromium.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
index 2cf7d5212c61..002663d752da 100644
--- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi
@@ -55,8 +55,6 @@ ap_ts_pen_1v8: &i2c4 {
};
&pm6150_adc {
- status = "disabled";
-
/delete-node/ charger-thermistor@4f;
};