[PATCH v3 1/2] arm64: dts: qcom: hamoa: add labels to the CPU thermal zones
From: Ingo A. Kubbilun
Date: Sat Dec 05 2026 - 17:46:51 EST
Board device trees that add trip points or cooling maps to the CPU
thermal zones currently have to reference them by path. Add labels so
they can be referenced directly.
An AI coding assistant (Anthropic Claude) drafted this change; I
reviewed it and checked that all qcom DTBs still build.
Signed-off-by: Ingo A. Kubbilun <ingo.kubbilun@xxxxxxxxx>
---
arch/arm64/boot/dts/qcom/hamoa.dtsi | 40 ++++++++++++++---------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/hamoa.dtsi b/arch/arm64/boot/dts/qcom/hamoa.dtsi
index 443c1a5c212d..cc7a89a5afaf 100644
--- a/arch/arm64/boot/dts/qcom/hamoa.dtsi
+++ b/arch/arm64/boot/dts/qcom/hamoa.dtsi
@@ -9155,7 +9155,7 @@ aoss0-critical {
};
};
- cpu0-0-top-thermal {
+ cpu0_0_top_thermal: cpu0-0-top-thermal {
thermal-sensors = <&tsens0 1>;
trips {
@@ -9167,7 +9167,7 @@ cpu-critical {
};
};
- cpu0-0-btm-thermal {
+ cpu0_0_btm_thermal: cpu0-0-btm-thermal {
thermal-sensors = <&tsens0 2>;
trips {
@@ -9179,7 +9179,7 @@ cpu-critical {
};
};
- cpu0-1-top-thermal {
+ cpu0_1_top_thermal: cpu0-1-top-thermal {
thermal-sensors = <&tsens0 3>;
trips {
@@ -9191,7 +9191,7 @@ cpu-critical {
};
};
- cpu0-1-btm-thermal {
+ cpu0_1_btm_thermal: cpu0-1-btm-thermal {
thermal-sensors = <&tsens0 4>;
trips {
@@ -9203,7 +9203,7 @@ cpu-critical {
};
};
- cpu0-2-top-thermal {
+ cpu0_2_top_thermal: cpu0-2-top-thermal {
thermal-sensors = <&tsens0 5>;
trips {
@@ -9215,7 +9215,7 @@ cpu-critical {
};
};
- cpu0-2-btm-thermal {
+ cpu0_2_btm_thermal: cpu0-2-btm-thermal {
thermal-sensors = <&tsens0 6>;
trips {
@@ -9227,7 +9227,7 @@ cpu-critical {
};
};
- cpu0-3-top-thermal {
+ cpu0_3_top_thermal: cpu0-3-top-thermal {
thermal-sensors = <&tsens0 7>;
trips {
@@ -9239,7 +9239,7 @@ cpu-critical {
};
};
- cpu0-3-btm-thermal {
+ cpu0_3_btm_thermal: cpu0-3-btm-thermal {
thermal-sensors = <&tsens0 8>;
trips {
@@ -9251,7 +9251,7 @@ cpu-critical {
};
};
- cpuss0-top-thermal {
+ cpuss0_top_thermal: cpuss0-top-thermal {
thermal-sensors = <&tsens0 9>;
trips {
@@ -9263,7 +9263,7 @@ cpuss2-critical {
};
};
- cpuss0-btm-thermal {
+ cpuss0_btm_thermal: cpuss0-btm-thermal {
thermal-sensors = <&tsens0 10>;
trips {
@@ -9329,7 +9329,7 @@ aoss0-critical {
};
};
- cpu1-0-top-thermal {
+ cpu1_0_top_thermal: cpu1-0-top-thermal {
thermal-sensors = <&tsens1 1>;
trips {
@@ -9341,7 +9341,7 @@ cpu-critical {
};
};
- cpu1-0-btm-thermal {
+ cpu1_0_btm_thermal: cpu1-0-btm-thermal {
thermal-sensors = <&tsens1 2>;
trips {
@@ -9353,7 +9353,7 @@ cpu-critical {
};
};
- cpu1-1-top-thermal {
+ cpu1_1_top_thermal: cpu1-1-top-thermal {
thermal-sensors = <&tsens1 3>;
trips {
@@ -9365,7 +9365,7 @@ cpu-critical {
};
};
- cpu1-1-btm-thermal {
+ cpu1_1_btm_thermal: cpu1-1-btm-thermal {
thermal-sensors = <&tsens1 4>;
trips {
@@ -9377,7 +9377,7 @@ cpu-critical {
};
};
- cpu1-2-top-thermal {
+ cpu1_2_top_thermal: cpu1-2-top-thermal {
thermal-sensors = <&tsens1 5>;
trips {
@@ -9389,7 +9389,7 @@ cpu-critical {
};
};
- cpu1-2-btm-thermal {
+ cpu1_2_btm_thermal: cpu1-2-btm-thermal {
thermal-sensors = <&tsens1 6>;
trips {
@@ -9401,7 +9401,7 @@ cpu-critical {
};
};
- cpu1-3-top-thermal {
+ cpu1_3_top_thermal: cpu1-3-top-thermal {
thermal-sensors = <&tsens1 7>;
trips {
@@ -9413,7 +9413,7 @@ cpu-critical {
};
};
- cpu1-3-btm-thermal {
+ cpu1_3_btm_thermal: cpu1-3-btm-thermal {
thermal-sensors = <&tsens1 8>;
trips {
@@ -9425,7 +9425,7 @@ cpu-critical {
};
};
- cpuss1-top-thermal {
+ cpuss1_top_thermal: cpuss1-top-thermal {
thermal-sensors = <&tsens1 9>;
trips {
@@ -9437,7 +9437,7 @@ cpuss2-critical {
};
};
- cpuss1-btm-thermal {
+ cpuss1_btm_thermal: cpuss1-btm-thermal {
thermal-sensors = <&tsens1 10>;
trips {
--
2.47.3