Skip to content

Commit 7c942a6

Browse files
Mani-Sadhasivamdmantre
authored andcommitted
FROMLIST: arm64: dts: qcom: x1e80100: Add '#cooling-cells' for CPU nodes
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> Tested-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260210070321.17033-1-manivannan.sadhasivam@oss.qualcomm.com
1 parent 1cefa86 commit 7c942a6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/hamoa.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
power-domains = <&cpu_pd0>, <&scmi_dvfs 0>;
7777
power-domain-names = "psci", "perf";
7878
cpu-idle-states = <&cluster_c4>;
79+
#cooling-cells = <2>;
7980

8081
l2_0: l2-cache {
8182
compatible = "cache";
@@ -93,6 +94,7 @@
9394
power-domains = <&cpu_pd1>, <&scmi_dvfs 0>;
9495
power-domain-names = "psci", "perf";
9596
cpu-idle-states = <&cluster_c4>;
97+
#cooling-cells = <2>;
9698
};
9799

98100
cpu2: cpu@200 {
@@ -104,6 +106,7 @@
104106
power-domains = <&cpu_pd2>, <&scmi_dvfs 0>;
105107
power-domain-names = "psci", "perf";
106108
cpu-idle-states = <&cluster_c4>;
109+
#cooling-cells = <2>;
107110
};
108111

109112
cpu3: cpu@300 {
@@ -115,6 +118,7 @@
115118
power-domains = <&cpu_pd3>, <&scmi_dvfs 0>;
116119
power-domain-names = "psci", "perf";
117120
cpu-idle-states = <&cluster_c4>;
121+
#cooling-cells = <2>;
118122
};
119123

120124
cpu4: cpu@10000 {
@@ -126,6 +130,7 @@
126130
power-domains = <&cpu_pd4>, <&scmi_dvfs 1>;
127131
power-domain-names = "psci", "perf";
128132
cpu-idle-states = <&cluster_c4>;
133+
#cooling-cells = <2>;
129134

130135
l2_1: l2-cache {
131136
compatible = "cache";
@@ -143,6 +148,7 @@
143148
power-domains = <&cpu_pd5>, <&scmi_dvfs 1>;
144149
power-domain-names = "psci", "perf";
145150
cpu-idle-states = <&cluster_c4>;
151+
#cooling-cells = <2>;
146152
};
147153

148154
cpu6: cpu@10200 {
@@ -154,6 +160,7 @@
154160
power-domains = <&cpu_pd6>, <&scmi_dvfs 1>;
155161
power-domain-names = "psci", "perf";
156162
cpu-idle-states = <&cluster_c4>;
163+
#cooling-cells = <2>;
157164
};
158165

159166
cpu7: cpu@10300 {
@@ -165,6 +172,7 @@
165172
power-domains = <&cpu_pd7>, <&scmi_dvfs 1>;
166173
power-domain-names = "psci", "perf";
167174
cpu-idle-states = <&cluster_c4>;
175+
#cooling-cells = <2>;
168176
};
169177

170178
cpu8: cpu@20000 {
@@ -176,6 +184,7 @@
176184
power-domains = <&cpu_pd8>, <&scmi_dvfs 2>;
177185
power-domain-names = "psci", "perf";
178186
cpu-idle-states = <&cluster_c4>;
187+
#cooling-cells = <2>;
179188

180189
l2_2: l2-cache {
181190
compatible = "cache";
@@ -193,6 +202,7 @@
193202
power-domains = <&cpu_pd9>, <&scmi_dvfs 2>;
194203
power-domain-names = "psci", "perf";
195204
cpu-idle-states = <&cluster_c4>;
205+
#cooling-cells = <2>;
196206
};
197207

198208
cpu10: cpu@20200 {
@@ -204,6 +214,7 @@
204214
power-domains = <&cpu_pd10>, <&scmi_dvfs 2>;
205215
power-domain-names = "psci", "perf";
206216
cpu-idle-states = <&cluster_c4>;
217+
#cooling-cells = <2>;
207218
};
208219

209220
cpu11: cpu@20300 {
@@ -215,6 +226,7 @@
215226
power-domains = <&cpu_pd11>, <&scmi_dvfs 2>;
216227
power-domain-names = "psci", "perf";
217228
cpu-idle-states = <&cluster_c4>;
229+
#cooling-cells = <2>;
218230
};
219231

220232
cpu-map {

0 commit comments

Comments
 (0)