arm64: dts: qcom: sc8280xp-x13s: Add thermal zone support
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 3 Nov 2022 09:58:10 +0000 (15:28 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 7 Nov 2022 03:11:11 +0000 (21:11 -0600)
commit31863c523ac5bd2b0fe0857c6405a7431c59d653
treedea4c86a3927cc8434b2be2f348fd12b081afbee
parent7c0151347401a55f98afa640f741f70e411ce685
arm64: dts: qcom: sc8280xp-x13s: Add thermal zone support

Add thermal zone support by making use of the thermistor SYS_THERM6.
Based on experiments, this thermistor seems to reflect the actual
surface temperature of the laptop.

For the cooling device, all BIG CPU cores are throttled down to keep the
temperature at a sane level.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221103095810.64606-13-manivannan.sadhasivam@linaro.org
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts