[PATCH v2] arm64: dts: qcom: sc8280xp: Add more thermal zones
From: Xilin Wu
Date: Mon Aug 31 2026 - 06:23:18 EST
The SC8280XP contains a lot of TSENS sensors which are not yet described.
Add the thermal zones for them.
Signed-off-by: Xilin Wu <sophon@xxxxxxxxx>
---
Changes in v2:
- Rebased onto next-20260828
- Dropped applied patch 1
- Add missing NSP1 thermal zones and rename CPUSS and DDRSS thermal zones.
- Link to v1: https://patch.msgid.link/20260507-sc8280xp-thermal-zones-v1-0-33d4395b1be9@xxxxxxxxx
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
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 551 ++++++++++++++++++++++++++++++++-
1 file changed, 538 insertions(+), 13 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index fbcfd3883bbb..880570d0a41c 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -7084,7 +7084,19 @@ sound: sound {
};
thermal-zones {
- cpu0-thermal {
+ aoss-0-thermal {
+ thermal-sensors = <&tsens0 0>;
+
+ trips {
+ aoss-critical {
+ temperature = <110000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu0-0-thermal {
thermal-sensors = <&tsens0 1>;
trips {
@@ -7096,7 +7108,7 @@ cpu-crit {
};
};
- cpu1-thermal {
+ cpu1-0-thermal {
thermal-sensors = <&tsens0 2>;
trips {
@@ -7108,7 +7120,7 @@ cpu-crit {
};
};
- cpu2-thermal {
+ cpu2-0-thermal {
thermal-sensors = <&tsens0 3>;
trips {
@@ -7120,7 +7132,7 @@ cpu-crit {
};
};
- cpu3-thermal {
+ cpu3-0-thermal {
thermal-sensors = <&tsens0 4>;
trips {
@@ -7132,7 +7144,7 @@ cpu-crit {
};
};
- cpu4-thermal {
+ cpu4-0-thermal {
thermal-sensors = <&tsens0 5>;
trips {
@@ -7144,7 +7156,7 @@ cpu-crit {
};
};
- cpu5-thermal {
+ cpu5-0-thermal {
thermal-sensors = <&tsens0 6>;
trips {
@@ -7156,7 +7168,7 @@ cpu-crit {
};
};
- cpu6-thermal {
+ cpu6-0-thermal {
thermal-sensors = <&tsens0 7>;
trips {
@@ -7168,7 +7180,7 @@ cpu-crit {
};
};
- cpu7-thermal {
+ cpu7-0-thermal {
thermal-sensors = <&tsens0 8>;
trips {
@@ -7180,7 +7192,7 @@ cpu-crit {
};
};
- cluster0-thermal {
+ cpuss0-thermal {
thermal-sensors = <&tsens0 9>;
trips {
@@ -7192,10 +7204,262 @@ cpu-crit {
};
};
- gpu-thermal {
+ nsp0-0-thermal {
+ thermal-sensors = <&tsens0 10>;
+
+ trips {
+ nsp0-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ nsp1-0-thermal {
+ thermal-sensors = <&tsens0 11>;
+
+ trips {
+ nsp1-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ smss-0-thermal {
+ thermal-sensors = <&tsens0 12>;
+
+ trips {
+ smss-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ camss-0-thermal {
+ thermal-sensors = <&tsens0 13>;
+
+ trips {
+ camss-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ aoss-1-thermal {
+ thermal-sensors = <&tsens1 0>;
+
+ trips {
+ aoss-critical {
+ temperature = <110000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu0-1-thermal {
+ thermal-sensors = <&tsens1 1>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu1-1-thermal {
+ thermal-sensors = <&tsens1 2>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu2-1-thermal {
+ thermal-sensors = <&tsens1 3>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu3-1-thermal {
+ thermal-sensors = <&tsens1 4>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu4-1-thermal {
+ thermal-sensors = <&tsens1 5>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu5-1-thermal {
+ thermal-sensors = <&tsens1 6>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu6-1-thermal {
+ thermal-sensors = <&tsens1 7>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpu7-1-thermal {
+ thermal-sensors = <&tsens1 8>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ cpuss1-thermal {
+ thermal-sensors = <&tsens1 9>;
+
+ trips {
+ cpu-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ nsp0-2-thermal {
+ thermal-sensors = <&tsens1 10>;
+
+ trips {
+ nsp0-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ nsp1-2-thermal {
+ thermal-sensors = <&tsens1 11>;
+
+ trips {
+ nsp1-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ smss-1-thermal {
+ thermal-sensors = <&tsens1 12>;
+
+ trips {
+ smss-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ camss-1-thermal {
+ thermal-sensors = <&tsens1 13>;
+
+ trips {
+ camss-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ pcie-0-thermal {
+ thermal-sensors = <&tsens1 14>;
+
+ trips {
+ pcie-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ ddrss-0-thermal {
+ thermal-sensors = <&tsens1 15>;
+
+ trips {
+ trip-point0 {
+ temperature = <90000>;
+ hysteresis = <2000>;
+ type = "hot";
+ };
+ };
+ };
+
+ aoss-2-thermal {
+ thermal-sensors = <&tsens2 0>;
+
+ trips {
+ aoss-critical {
+ temperature = <110000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-0-thermal {
polling-delay-passive = <250>;
- thermal-sensors = <&tsens2 2>;
+ thermal-sensors = <&tsens2 1>;
cooling-maps {
map0 {
@@ -7219,8 +7483,101 @@ trip-point1 {
};
};
- mem-thermal {
- thermal-sensors = <&tsens1 15>;
+ gpuss-1-thermal {
+ polling-delay-passive = <250>;
+
+ thermal-sensors = <&tsens2 2>;
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert1>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ gpu_alert1: trip-point0 {
+ temperature = <85000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
+
+ trip-point1 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-2-thermal {
+ polling-delay-passive = <250>;
+
+ thermal-sensors = <&tsens2 3>;
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert2>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ gpu_alert2: trip-point0 {
+ temperature = <85000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
+
+ trip-point1 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-3-thermal {
+ polling-delay-passive = <250>;
+
+ thermal-sensors = <&tsens2 4>;
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert3>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ gpu_alert3: trip-point0 {
+ temperature = <85000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
+
+ trip-point1 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ pcie-1-thermal {
+ thermal-sensors = <&tsens2 5>;
+
+ trips {
+ pcie-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ ddrss-1-thermal {
+ thermal-sensors = <&tsens2 6>;
trips {
trip-point0 {
@@ -7230,6 +7587,174 @@ trip-point0 {
};
};
};
+
+ audio-thermal {
+ thermal-sensors = <&tsens2 7>;
+
+ trips {
+ audio-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ video-thermal {
+ thermal-sensors = <&tsens2 8>;
+
+ trips {
+ video-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ nsp0-1-thermal {
+ thermal-sensors = <&tsens2 9>;
+
+ trips {
+ nsp0-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ nsp1-1-thermal {
+ thermal-sensors = <&tsens2 10>;
+
+ trips {
+ nsp1-crit {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ aoss-3-thermal {
+ thermal-sensors = <&tsens3 0>;
+
+ trips {
+ aoss-critical {
+ temperature = <110000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-4-thermal {
+ polling-delay-passive = <250>;
+
+ thermal-sensors = <&tsens3 1>;
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert4>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ gpu_alert4: trip-point0 {
+ temperature = <85000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
+
+ trip-point1 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-5-thermal {
+ polling-delay-passive = <250>;
+
+ thermal-sensors = <&tsens3 2>;
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert5>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ gpu_alert5: trip-point0 {
+ temperature = <85000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
+
+ trip-point1 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-6-thermal {
+ polling-delay-passive = <250>;
+
+ thermal-sensors = <&tsens3 3>;
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert6>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ gpu_alert6: trip-point0 {
+ temperature = <85000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
+
+ trip-point1 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+
+ gpuss-7-thermal {
+ polling-delay-passive = <250>;
+
+ thermal-sensors = <&tsens3 4>;
+
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert7>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ gpu_alert7: trip-point0 {
+ temperature = <85000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
+
+ trip-point1 {
+ temperature = <110000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
};
timer {
---
base-commit: e30626823a406725ce29bc75cb8ec467d3e1e326
change-id: 20260507-sc8280xp-thermal-zones-2474cb20a17a
Best regards,
--
Xilin Wu <sophon@xxxxxxxxx>