[PATCH 7/8] arm64: dts: qcom: x1p42100-crd: Add qcom,tsens for EC fan thermal management
Anvesh Jain P <[email protected]> Tue, 28 Jul 2026 23:14:35 +0530
| Newsgroups | org.kernel.vger.platform-driver-x86,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Add the qcom,tsens property to the embedded-controller node, pointing at tsens2 and covering its first 11 sensor IDs (AOSS, NSP, GPU and camera) whose readings are averaged to compute the SoC junction temperature periodically reported to the EC for fan control. The x1p42100 is a reduced part: purwa.dtsi disables tsens3 and deletes the CPU cluster-2, CPUSS, AOSS and upper GPU thermal zones, remapping the NSP, lower GPU and camera sensors onto tsens2. Only those sensors are available to contribute to the SoC Tj average on this board. Signed-off-by: Anvesh Jain P <[email protected]> --- arch/arm64/boot/dts/qcom/x1p42100-crd.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1p42100-crd.dts b/arch/arm64/boot/dts/qcom/x1p42100-crd.dts index 7ed4116b9590..b46b67c5e436 100644 --- a/arch/arm64/boot/dts/qcom/x1p42100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1p42100-crd.dts @@ -19,3 +19,9 @@ / { &gpu_zap_shader { firmware-name = "qcom/x1p42100/gen71500_zap.mbn"; }; + +&i2c5 { + embedded-controller@76 { + qcom,tsens = <&tsens2 11>; + }; +}; -- 2.34.1