[PATCH v2 0/3] arm64: dts: qcom: hamoa-crd: Introduce thermistor-based CPU throttling
From: Bjorn Andersson
Date: Fri Sep 04 2026 - 23:06:30 EST
The Hamoa CRD has multiple thermistors throughout the board to allow
measuring the temperature across different parts of the system. In line
with other platforms these are wired to the PMIC ADC and thermal monitor
blocks.
While "limits" hardware management provides rapid throttling of the
CPU cores, software needs to throttle the system e.g. during prolonged
CPU usage. Wire up the 7 thermistors found in the CRD as thermal zones
and throttle the CPU based on the "keyboard hotspot" thermistor.
The same mechanism is used on other Hamoa-based boards, but the
thermistor configuration and mapping is board-specific. As such, these
settings goes into the CRD dts. It's plausible that it could be shared
with the Purwa CRD, but this hasn't been confirmed.
Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Dropped second keyboard alert as the cooling maps where the same
- Added mitigation of GPU based on back-cover sensor
- Changed keyboard trip label prefixes from skin_ to keyboard_
- Added "critical-action" to clarify the expected behavior
- Link to v1: https://patch.msgid.link/20260830-hamoa-sys-therm-v1-0-27108c40fba5@xxxxxxxxxxxxxxxx
To: Bjorn Andersson <andersson@xxxxxxxxxx>
To: Konrad Dybcio <konradybcio@xxxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
Cc: linux-arm-msm@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
Bjorn Andersson (3):
arm64: dts: qcom: hamoa-pmics: Mark pmk8550_vadc thermal sensor provider
arm64: dts: qcom: hamoa-crd: Add thermal control
arm64: defconfig: Enable PMIC5 Gen3 ADC thermal monitor
arch/arm64/boot/dts/qcom/hamoa-pmics.dtsi | 1 +
arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 119 ++++++++++++++++++++++++++++++
arch/arm64/configs/defconfig | 2 +
3 files changed, 122 insertions(+)
---
base-commit: 3d83758432b5e6ed9507500a57efb0f3af41ee7d
change-id: 20260830-hamoa-sys-therm-fb4f80fd6770
Best regards,
--
Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxxxx>