mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes
@ 2026-02-10  7:03 Manivannan Sadhasivam
  2026-02-10  8:46 ` Konrad Dybcio
  2026-03-18 13:50 ` Bjorn Andersson
  0 siblings, 2 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2026-02-10  7:03 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: mani, linux-arm-msm, devicetree, linux-kernel, gaurav.kohli,
	Manivannan Sadhasivam

Enable passive cooling for CPUs in the X1E80100 SoC by adding the
'#cooling-cells' property. This will allow the OS to mitigate the CPU
power dissipation with the help of SCMI DVFS.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
---

Changes in v2:

* Rebased on top of v6.19-rc1

 arch/arm64/boot/dts/qcom/hamoa.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/hamoa.dtsi b/arch/arm64/boot/dts/qcom/hamoa.dtsi
index db65c392e618..799e405a9f87 100644
--- a/arch/arm64/boot/dts/qcom/hamoa.dtsi
+++ b/arch/arm64/boot/dts/qcom/hamoa.dtsi
@@ -75,6 +75,7 @@ cpu0: cpu@0 {
 			next-level-cache = <&l2_0>;
 			power-domains = <&cpu_pd0>, <&scmi_dvfs 0>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 
 			l2_0: l2-cache {
 				compatible = "cache";
@@ -91,6 +92,7 @@ cpu1: cpu@100 {
 			next-level-cache = <&l2_0>;
 			power-domains = <&cpu_pd1>, <&scmi_dvfs 0>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu2: cpu@200 {
@@ -101,6 +103,7 @@ cpu2: cpu@200 {
 			next-level-cache = <&l2_0>;
 			power-domains = <&cpu_pd2>, <&scmi_dvfs 0>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu3: cpu@300 {
@@ -111,6 +114,7 @@ cpu3: cpu@300 {
 			next-level-cache = <&l2_0>;
 			power-domains = <&cpu_pd3>, <&scmi_dvfs 0>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu4: cpu@10000 {
@@ -121,6 +125,7 @@ cpu4: cpu@10000 {
 			next-level-cache = <&l2_1>;
 			power-domains = <&cpu_pd4>, <&scmi_dvfs 1>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 
 			l2_1: l2-cache {
 				compatible = "cache";
@@ -137,6 +142,7 @@ cpu5: cpu@10100 {
 			next-level-cache = <&l2_1>;
 			power-domains = <&cpu_pd5>, <&scmi_dvfs 1>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu6: cpu@10200 {
@@ -147,6 +153,7 @@ cpu6: cpu@10200 {
 			next-level-cache = <&l2_1>;
 			power-domains = <&cpu_pd6>, <&scmi_dvfs 1>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu7: cpu@10300 {
@@ -157,6 +164,7 @@ cpu7: cpu@10300 {
 			next-level-cache = <&l2_1>;
 			power-domains = <&cpu_pd7>, <&scmi_dvfs 1>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu8: cpu@20000 {
@@ -167,6 +175,7 @@ cpu8: cpu@20000 {
 			next-level-cache = <&l2_2>;
 			power-domains = <&cpu_pd8>, <&scmi_dvfs 2>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 
 			l2_2: l2-cache {
 				compatible = "cache";
@@ -183,6 +192,7 @@ cpu9: cpu@20100 {
 			next-level-cache = <&l2_2>;
 			power-domains = <&cpu_pd9>, <&scmi_dvfs 2>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu10: cpu@20200 {
@@ -193,6 +203,7 @@ cpu10: cpu@20200 {
 			next-level-cache = <&l2_2>;
 			power-domains = <&cpu_pd10>, <&scmi_dvfs 2>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu11: cpu@20300 {
@@ -203,6 +214,7 @@ cpu11: cpu@20300 {
 			next-level-cache = <&l2_2>;
 			power-domains = <&cpu_pd11>, <&scmi_dvfs 2>;
 			power-domain-names = "psci", "perf";
+			#cooling-cells = <2>;
 		};
 
 		cpu-map {
-- 
2.51.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes
  2026-02-10  7:03 [PATCH v2] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes Manivannan Sadhasivam
@ 2026-02-10  8:46 ` Konrad Dybcio
  2026-02-10  9:49   ` Gaurav Kohli
  2026-03-18 13:50 ` Bjorn Andersson
  1 sibling, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2026-02-10  8:46 UTC (permalink / raw)
  To: Manivannan Sadhasivam, andersson, konradybcio, robh, krzk+dt, conor+dt
  Cc: mani, linux-arm-msm, devicetree, linux-kernel, gaurav.kohli

On 2/10/26 8:03 AM, Manivannan Sadhasivam wrote:
> Enable passive cooling for CPUs in the X1E80100 SoC by adding the
> '#cooling-cells' property. This will allow the OS to mitigate the CPU
> power dissipation with the help of SCMI DVFS.
> 
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes
  2026-02-10  8:46 ` Konrad Dybcio
@ 2026-02-10  9:49   ` Gaurav Kohli
  0 siblings, 0 replies; 4+ messages in thread
From: Gaurav Kohli @ 2026-02-10  9:49 UTC (permalink / raw)
  To: Konrad Dybcio, Manivannan Sadhasivam, andersson, konradybcio,
	robh, krzk+dt, conor+dt
  Cc: mani, linux-arm-msm, devicetree, linux-kernel



On 2/10/2026 2:16 PM, Konrad Dybcio wrote:
> On 2/10/26 8:03 AM, Manivannan Sadhasivam wrote:
>> Enable passive cooling for CPUs in the X1E80100 SoC by adding the
>> '#cooling-cells' property. This will allow the OS to mitigate the CPU
>> power dissipation with the help of SCMI DVFS.
>>
>> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
>> ---
> 
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> Konrad

done boot test also, cpufreq nodes are reflecting, please feel
free to add:
Tested-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>

thanks,
Gaurav



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes
  2026-02-10  7:03 [PATCH v2] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes Manivannan Sadhasivam
  2026-02-10  8:46 ` Konrad Dybcio
@ 2026-03-18 13:50 ` Bjorn Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2026-03-18 13:50 UTC (permalink / raw)
  To: konradybcio, robh, krzk+dt, conor+dt, Manivannan Sadhasivam
  Cc: mani, linux-arm-msm, devicetree, linux-kernel, gaurav.kohli


On Tue, 10 Feb 2026 12:33:21 +0530, Manivannan Sadhasivam wrote:
> Enable passive cooling for CPUs in the X1E80100 SoC by adding the
> '#cooling-cells' property. This will allow the OS to mitigate the CPU
> power dissipation with the help of SCMI DVFS.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes
      commit: 408b79c097d054fac70d041bad117e1a14fb0213

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-18 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-10  7:03 [PATCH v2] arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes Manivannan Sadhasivam
2026-02-10  8:46 ` Konrad Dybcio
2026-02-10  9:49   ` Gaurav Kohli
2026-03-18 13:50 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®