Skip to content

Commit a51500f

Browse files
authored
Merge pull request #325 from dmantre/cpufreq_6.18
Enable cpufreq cooling devices
2 parents bd08d69 + 7c942a6 commit a51500f

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
@@ -78,6 +78,7 @@
7878
power-domains = <&cpu_pd0>, <&scmi_dvfs 0>;
7979
power-domain-names = "psci", "perf";
8080
cpu-idle-states = <&cluster_c4>;
81+
#cooling-cells = <2>;
8182

8283
l2_0: l2-cache {
8384
compatible = "cache";
@@ -95,6 +96,7 @@
9596
power-domains = <&cpu_pd1>, <&scmi_dvfs 0>;
9697
power-domain-names = "psci", "perf";
9798
cpu-idle-states = <&cluster_c4>;
99+
#cooling-cells = <2>;
98100
};
99101

100102
cpu2: cpu@200 {
@@ -106,6 +108,7 @@
106108
power-domains = <&cpu_pd2>, <&scmi_dvfs 0>;
107109
power-domain-names = "psci", "perf";
108110
cpu-idle-states = <&cluster_c4>;
111+
#cooling-cells = <2>;
109112
};
110113

111114
cpu3: cpu@300 {
@@ -117,6 +120,7 @@
117120
power-domains = <&cpu_pd3>, <&scmi_dvfs 0>;
118121
power-domain-names = "psci", "perf";
119122
cpu-idle-states = <&cluster_c4>;
123+
#cooling-cells = <2>;
120124
};
121125

122126
cpu4: cpu@10000 {
@@ -128,6 +132,7 @@
128132
power-domains = <&cpu_pd4>, <&scmi_dvfs 1>;
129133
power-domain-names = "psci", "perf";
130134
cpu-idle-states = <&cluster_c4>;
135+
#cooling-cells = <2>;
131136

132137
l2_1: l2-cache {
133138
compatible = "cache";
@@ -145,6 +150,7 @@
145150
power-domains = <&cpu_pd5>, <&scmi_dvfs 1>;
146151
power-domain-names = "psci", "perf";
147152
cpu-idle-states = <&cluster_c4>;
153+
#cooling-cells = <2>;
148154
};
149155

150156
cpu6: cpu@10200 {
@@ -156,6 +162,7 @@
156162
power-domains = <&cpu_pd6>, <&scmi_dvfs 1>;
157163
power-domain-names = "psci", "perf";
158164
cpu-idle-states = <&cluster_c4>;
165+
#cooling-cells = <2>;
159166
};
160167

161168
cpu7: cpu@10300 {
@@ -167,6 +174,7 @@
167174
power-domains = <&cpu_pd7>, <&scmi_dvfs 1>;
168175
power-domain-names = "psci", "perf";
169176
cpu-idle-states = <&cluster_c4>;
177+
#cooling-cells = <2>;
170178
};
171179

172180
cpu8: cpu@20000 {
@@ -178,6 +186,7 @@
178186
power-domains = <&cpu_pd8>, <&scmi_dvfs 2>;
179187
power-domain-names = "psci", "perf";
180188
cpu-idle-states = <&cluster_c4>;
189+
#cooling-cells = <2>;
181190

182191
l2_2: l2-cache {
183192
compatible = "cache";
@@ -195,6 +204,7 @@
195204
power-domains = <&cpu_pd9>, <&scmi_dvfs 2>;
196205
power-domain-names = "psci", "perf";
197206
cpu-idle-states = <&cluster_c4>;
207+
#cooling-cells = <2>;
198208
};
199209

200210
cpu10: cpu@20200 {
@@ -206,6 +216,7 @@
206216
power-domains = <&cpu_pd10>, <&scmi_dvfs 2>;
207217
power-domain-names = "psci", "perf";
208218
cpu-idle-states = <&cluster_c4>;
219+
#cooling-cells = <2>;
209220
};
210221

211222
cpu11: cpu@20300 {
@@ -217,6 +228,7 @@
217228
power-domains = <&cpu_pd11>, <&scmi_dvfs 2>;
218229
power-domain-names = "psci", "perf";
219230
cpu-idle-states = <&cluster_c4>;
231+
#cooling-cells = <2>;
220232
};
221233

222234
cpu-map {

0 commit comments

Comments
 (0)