]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: qcom: x1e80100: Apply consistent critical thermal shutdown
authorStephan Gerhold <stephan.gerhold@linaro.org>
Wed, 19 Feb 2025 11:36:19 +0000 (12:36 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 4 Mar 2025 04:14:48 +0000 (22:14 -0600)
commit03f2b8eed73418269a158ccebad5d8d8f2f6daa1
tree6c28ddbc8a5fe4707039b8581c86b3f422377cb7
parent801befff4c827aa72e3698367c5afc18987a6a3f
arm64: dts: qcom: x1e80100: Apply consistent critical thermal shutdown

The firmware configures the TSENS controller with a maximum temperature of
120°C. When reaching that temperature, the hardware automatically triggers
a reset of the entire platform. Some of the thermal zones in x1e80100.dtsi
use a critical trip point of 125°C. It's impossible to reach those.

It's preferable to shut down the system cleanly before reaching the
hardware trip point. Make the critical temperature trip points consistent
by setting all of them to 115°C and apply a consistent hysteresis.
The ACPI tables also specify 115°C as critical shutdown temperature.

Cc: stable@vger.kernel.org
Fixes: 4e915987ff5b ("arm64: dts: qcom: x1e80100: Enable tsens and thermal zone nodes")
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250219-x1e80100-thermal-fixes-v1-2-d110e44ac3f9@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100.dtsi