* [PATCH 1/2] arm64: dts: qcom: sc8280xp: drop unused polling-delay-passive properties
2026-05-07 14:34 [PATCH 0/2] arm64: dts: qcom: sc8280xp: thermal zones fixes & additions Xilin Wu
@ 2026-05-07 14:34 ` Xilin Wu
2026-05-08 9:42 ` Konrad Dybcio
2026-05-07 14:34 ` [PATCH 2/2] arm64: dts: qcom: sc8280xp: Add more thermal zones Xilin Wu
1 sibling, 1 reply; 4+ messages in thread
From: Xilin Wu @ 2026-05-07 14:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Xilin Wu
Remove the unused polling-delay-passive properties from thermal nodes
without a passive trip point.
Signed-off-by: Xilin Wu <sophon@radxa.com>
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index 761f229e8f47..af9b3f8a0817 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -6871,8 +6871,6 @@ sound: sound {
thermal-zones {
cpu0-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 1>;
trips {
@@ -6885,8 +6883,6 @@ cpu-crit {
};
cpu1-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 2>;
trips {
@@ -6899,8 +6895,6 @@ cpu-crit {
};
cpu2-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 3>;
trips {
@@ -6913,8 +6907,6 @@ cpu-crit {
};
cpu3-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 4>;
trips {
@@ -6927,8 +6919,6 @@ cpu-crit {
};
cpu4-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 5>;
trips {
@@ -6941,8 +6931,6 @@ cpu-crit {
};
cpu5-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 6>;
trips {
@@ -6955,8 +6943,6 @@ cpu-crit {
};
cpu6-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 7>;
trips {
@@ -6969,8 +6955,6 @@ cpu-crit {
};
cpu7-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 8>;
trips {
@@ -6983,8 +6967,6 @@ cpu-crit {
};
cluster0-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens0 9>;
trips {
@@ -7024,8 +7006,6 @@ trip-point1 {
};
mem-thermal {
- polling-delay-passive = <250>;
-
thermal-sensors = <&tsens1 15>;
trips {
--
2.54.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] arm64: dts: qcom: sc8280xp: Add more thermal zones
2026-05-07 14:34 [PATCH 0/2] arm64: dts: qcom: sc8280xp: thermal zones fixes & additions Xilin Wu
2026-05-07 14:34 ` [PATCH 1/2] arm64: dts: qcom: sc8280xp: drop unused polling-delay-passive properties Xilin Wu
@ 2026-05-07 14:34 ` Xilin Wu
1 sibling, 0 replies; 4+ messages in thread
From: Xilin Wu @ 2026-05-07 14:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Xilin Wu
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@radxa.com>
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 513 ++++++++++++++++++++++++++++++++-
1 file changed, 501 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index af9b3f8a0817..152218186983 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -6870,7 +6870,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 {
@@ -6882,7 +6894,7 @@ cpu-crit {
};
};
- cpu1-thermal {
+ cpu1-0-thermal {
thermal-sensors = <&tsens0 2>;
trips {
@@ -6894,7 +6906,7 @@ cpu-crit {
};
};
- cpu2-thermal {
+ cpu2-0-thermal {
thermal-sensors = <&tsens0 3>;
trips {
@@ -6906,7 +6918,7 @@ cpu-crit {
};
};
- cpu3-thermal {
+ cpu3-0-thermal {
thermal-sensors = <&tsens0 4>;
trips {
@@ -6918,7 +6930,7 @@ cpu-crit {
};
};
- cpu4-thermal {
+ cpu4-0-thermal {
thermal-sensors = <&tsens0 5>;
trips {
@@ -6930,7 +6942,7 @@ cpu-crit {
};
};
- cpu5-thermal {
+ cpu5-0-thermal {
thermal-sensors = <&tsens0 6>;
trips {
@@ -6942,7 +6954,7 @@ cpu-crit {
};
};
- cpu6-thermal {
+ cpu6-0-thermal {
thermal-sensors = <&tsens0 7>;
trips {
@@ -6954,7 +6966,7 @@ cpu-crit {
};
};
- cpu7-thermal {
+ cpu7-0-thermal {
thermal-sensors = <&tsens0 8>;
trips {
@@ -6978,10 +6990,238 @@ cpu-crit {
};
};
- gpu-thermal {
+ nsp0-0-thermal {
+ thermal-sensors = <&tsens0 10>;
+
+ trips {
+ nsp0-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";
+ };
+ };
+ };
+
+ cluster1-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";
+ };
+ };
+ };
+
+ 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";
+ };
+ };
+ };
+
+ mem-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 {
@@ -7005,8 +7245,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";
+ };
+ };
+ };
+
+ mem-1-thermal {
+ thermal-sensors = <&tsens2 6>;
trips {
trip-point0 {
@@ -7016,6 +7349,162 @@ 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";
+ };
+ };
+ };
+
+ 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 {
--
2.54.0
^ permalink raw reply related [flat|nested] 4+ messages in thread