]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: glymur: Enable cpufreq cooling devices
authorHaritha S K <haritha.k@oss.qualcomm.com>
Thu, 7 May 2026 06:29:50 +0000 (11:59 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 10 May 2026 03:29:21 +0000 (22:29 -0500)
Add cooling-cells property to the CPU nodes to support cpufreq
cooling devices.

Signed-off-by: Haritha S K <haritha.k@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260507-glymur_cpu_freq-v1-1-d566cc1d32c3@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/glymur.dtsi

index 2378b7a4a30dfb110520b7e83ad1821a356528d3..65c8e9233354988f82fe9440a773abd34f756ac9 100644 (file)
@@ -39,6 +39,7 @@
                        power-domains = <&cpu_pd0>, <&scmi_perf 0>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_0>;
+                       #cooling-cells = <2>;
 
                        l2_0: l2-cache {
                                compatible = "cache";
@@ -55,6 +56,7 @@
                        power-domains = <&cpu_pd1>, <&scmi_perf 0>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_0>;
+                       #cooling-cells = <2>;
                };
 
                cpu2: cpu@200 {
@@ -65,6 +67,7 @@
                        power-domains = <&cpu_pd2>, <&scmi_perf 0>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_0>;
+                       #cooling-cells = <2>;
                };
 
                cpu3: cpu@300 {
@@ -75,6 +78,7 @@
                        power-domains = <&cpu_pd3>, <&scmi_perf 0>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_0>;
+                       #cooling-cells = <2>;
                };
 
                cpu4: cpu@400 {
@@ -85,6 +89,7 @@
                        power-domains = <&cpu_pd4>, <&scmi_perf 0>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_0>;
+                       #cooling-cells = <2>;
                };
 
                cpu5: cpu@500 {
                        power-domains = <&cpu_pd5>, <&scmi_perf 0>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_0>;
+                       #cooling-cells = <2>;
                };
 
                cpu6: cpu@10000 {
                        power-domains = <&cpu_pd6>, <&scmi_perf 1>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_1>;
+                       #cooling-cells = <2>;
 
                        l2_1: l2-cache {
                                compatible = "cache";
                        power-domains = <&cpu_pd7>, <&scmi_perf 1>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_1>;
+                       #cooling-cells = <2>;
                };
 
                cpu8: cpu@10200 {
                        power-domains = <&cpu_pd8>, <&scmi_perf 1>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_1>;
+                       #cooling-cells = <2>;
                };
 
                cpu9: cpu@10300 {
                        power-domains = <&cpu_pd9>, <&scmi_perf 1>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_1>;
+                       #cooling-cells = <2>;
                };
 
                cpu10: cpu@10400 {
                        power-domains = <&cpu_pd10>, <&scmi_perf 1>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_1>;
+                       #cooling-cells = <2>;
                };
 
                cpu11: cpu@10500 {
                        power-domains = <&cpu_pd11>, <&scmi_perf 1>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_1>;
+                       #cooling-cells = <2>;
                };
 
                cpu12: cpu@20000 {
                        power-domains = <&cpu_pd12>, <&scmi_perf 2>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_2>;
+                       #cooling-cells = <2>;
 
                        l2_2: l2-cache {
                                compatible = "cache";
                        power-domains = <&cpu_pd13>, <&scmi_perf 2>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_2>;
+                       #cooling-cells = <2>;
                };
 
                cpu14: cpu@20200 {
                        power-domains = <&cpu_pd14>, <&scmi_perf 2>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_2>;
+                       #cooling-cells = <2>;
                };
 
                cpu15: cpu@20300 {
                        power-domains = <&cpu_pd15>, <&scmi_perf 2>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_2>;
+                       #cooling-cells = <2>;
                };
 
                cpu16: cpu@20400 {
                        power-domains = <&cpu_pd16>, <&scmi_perf 2>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_2>;
+                       #cooling-cells = <2>;
                };
 
                cpu17: cpu@20500 {
                        power-domains = <&cpu_pd17>, <&scmi_perf 2>;
                        power-domain-names = "psci", "perf";
                        next-level-cache = <&l2_2>;
+                       #cooling-cells = <2>;
                };
 
                cpu-map {