OSDN Git Service

arm64: dts: qcom: pm6350: add temp sensor and thermal zone config
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 28 Oct 2022 07:54:04 +0000 (09:54 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 7 Nov 2022 23:25:46 +0000 (17:25 -0600)
commit16c0c46f38183573de5361d278772cfed2090b1c
tree2f0b143481c96a48e0c87be9b8d00b83f2373644
parentbcfefc98c5781ee97f1b7a8063870830d9e42b30
arm64: dts: qcom: pm6350: add temp sensor and thermal zone config

Add temp-alarm device tree node and a default configuration for the
corresponding thermal zone for this PMIC. Temperatures are based on
downstream values, except for trip2 where 125°C is used instead of 145°C
due to limitations without a configured ADC.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221028075405.124809-1-luca.weiss@fairphone.com
arch/arm64/boot/dts/qcom/pm6350.dtsi