arm64: dts: qcom: pm6150l: add temp sensor and thermal zone config
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 28 Oct 2022 07:54:05 +0000 (09:54 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 7 Nov 2022 23:25:46 +0000 (17:25 -0600)
commitce1b5eb74b3ef042b1c797f04e8683e7cad34ae6
treec930d4a4e15351418c40c9c7ce1c52a5eb53ab87
parent16c0c46f38183573de5361d278772cfed2090b1c
arm64: dts: qcom: pm6150l: 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-2-luca.weiss@fairphone.com
arch/arm64/boot/dts/qcom/pm6150l.dtsi