]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes
authorManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Tue, 10 Feb 2026 07:03:21 +0000 (12:33 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 18 Mar 2026 12:16:51 +0000 (07:16 -0500)
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>
Tested-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260210070321.17033-1-manivannan.sadhasivam@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/hamoa.dtsi

index a3a045732941aa98b38d375cb6e6f6ba336f38cc..ac98f141e28693e9e84c68716b9f3831cffcd339 100644 (file)
@@ -75,6 +75,7 @@
                        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 @@
                        next-level-cache = <&l2_0>;
                        power-domains = <&cpu_pd1>, <&scmi_dvfs 0>;
                        power-domain-names = "psci", "perf";
+                       #cooling-cells = <2>;
                };
 
                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 {
                        next-level-cache = <&l2_0>;
                        power-domains = <&cpu_pd3>, <&scmi_dvfs 0>;
                        power-domain-names = "psci", "perf";
+                       #cooling-cells = <2>;
                };
 
                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";
                        next-level-cache = <&l2_1>;
                        power-domains = <&cpu_pd5>, <&scmi_dvfs 1>;
                        power-domain-names = "psci", "perf";
+                       #cooling-cells = <2>;
                };
 
                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 {
                        next-level-cache = <&l2_1>;
                        power-domains = <&cpu_pd7>, <&scmi_dvfs 1>;
                        power-domain-names = "psci", "perf";
+                       #cooling-cells = <2>;
                };
 
                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";
                        next-level-cache = <&l2_2>;
                        power-domains = <&cpu_pd9>, <&scmi_dvfs 2>;
                        power-domain-names = "psci", "perf";
+                       #cooling-cells = <2>;
                };
 
                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 {
                        next-level-cache = <&l2_2>;
                        power-domains = <&cpu_pd11>, <&scmi_dvfs 2>;
                        power-domain-names = "psci", "perf";
+                       #cooling-cells = <2>;
                };
 
                cpu-map {