Devicetree
 help / color / mirror / Atom feed
From: "Ingo A. Kubbilun" <ingo.kubbilun@gmail.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Ingo A. Kubbilun" <ingo.kubbilun@gmail.com>
Subject: [PATCH v3 1/2] arm64: dts: qcom: hamoa: add labels to the CPU thermal zones
Date: Sat,  5 Dec 2026 23:45:53 +0100	[thread overview]
Message-ID: <20261205224621.950012-2-ingo.kubbilun@gmail.com> (raw)
In-Reply-To: <20261205224621.950012-1-ingo.kubbilun@gmail.com>

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@gmail.com>
---
 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


  reply	other threads:[~2026-12-05 22:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 22:45 [PATCH v3 0/2] arm64: dts: qcom: Add ASUS Vivobook S16 S3607QA Ingo A. Kubbilun
2026-12-05 22:45 ` Ingo A. Kubbilun [this message]
2026-12-05 22:53   ` [PATCH v3 1/2] arm64: dts: qcom: hamoa: add labels to the CPU thermal zones sashiko-bot
2026-12-05 22:45 ` [PATCH v3 2/2] arm64: dts: qcom: add ASUS Vivobook S16 S3607QA (X1P42100) Ingo A. Kubbilun
2026-12-05 23:03   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205224621.950012-2-ingo.kubbilun@gmail.com \
    --to=ingo.kubbilun@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox