Skip to content

Commit 88542b1

Browse files
okiasandersson
authored andcommitted
ARM: dts: qcom: fix thermal zones naming
Rename thermal zones according to dt-schema. Fix warnings like: arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: thermal-zones: 'cpu-thermal0', 'cpu-thermal1', 'cpu-thermal2', 'cpu-thermal3' do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/thermal/thermal-zones.yaml Signed-off-by: David Heidelberg <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent cda0cea commit 88542b1

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

arch/arm/boot/dts/qcom-apq8064.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
};
102102

103103
thermal-zones {
104-
cpu-thermal0 {
104+
cpu0-thermal {
105105
polling-delay-passive = <250>;
106106
polling-delay = <1000>;
107107

@@ -122,7 +122,7 @@
122122
};
123123
};
124124

125-
cpu-thermal1 {
125+
cpu1-thermal {
126126
polling-delay-passive = <250>;
127127
polling-delay = <1000>;
128128

@@ -143,7 +143,7 @@
143143
};
144144
};
145145

146-
cpu-thermal2 {
146+
cpu2-thermal {
147147
polling-delay-passive = <250>;
148148
polling-delay = <1000>;
149149

@@ -164,7 +164,7 @@
164164
};
165165
};
166166

167-
cpu-thermal3 {
167+
cpu3-thermal {
168168
polling-delay-passive = <250>;
169169
polling-delay = <1000>;
170170

arch/arm/boot/dts/qcom-apq8084.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
};
103103

104104
thermal-zones {
105-
cpu-thermal0 {
105+
cpu0-thermal {
106106
polling-delay-passive = <250>;
107107
polling-delay = <1000>;
108108

@@ -122,7 +122,7 @@
122122
};
123123
};
124124

125-
cpu-thermal1 {
125+
cpu1-thermal {
126126
polling-delay-passive = <250>;
127127
polling-delay = <1000>;
128128

@@ -142,7 +142,7 @@
142142
};
143143
};
144144

145-
cpu-thermal2 {
145+
cpu2-thermal {
146146
polling-delay-passive = <250>;
147147
polling-delay = <1000>;
148148

@@ -162,7 +162,7 @@
162162
};
163163
};
164164

165-
cpu-thermal3 {
165+
cpu3-thermal {
166166
polling-delay-passive = <250>;
167167
polling-delay = <1000>;
168168

arch/arm/boot/dts/qcom-ipq8064.dtsi

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
};
5050

5151
thermal-zones {
52-
tsens_tz_sensor0 {
52+
sensor0-thermal {
5353
polling-delay-passive = <0>;
5454
polling-delay = <0>;
5555
thermal-sensors = <&tsens 0>;
@@ -69,7 +69,7 @@
6969
};
7070
};
7171

72-
tsens_tz_sensor1 {
72+
sensor1-thermal {
7373
polling-delay-passive = <0>;
7474
polling-delay = <0>;
7575
thermal-sensors = <&tsens 1>;
@@ -89,7 +89,7 @@
8989
};
9090
};
9191

92-
tsens_tz_sensor2 {
92+
sensor2-thermal {
9393
polling-delay-passive = <0>;
9494
polling-delay = <0>;
9595
thermal-sensors = <&tsens 2>;
@@ -109,7 +109,7 @@
109109
};
110110
};
111111

112-
tsens_tz_sensor3 {
112+
sensor3-thermal {
113113
polling-delay-passive = <0>;
114114
polling-delay = <0>;
115115
thermal-sensors = <&tsens 3>;
@@ -129,7 +129,7 @@
129129
};
130130
};
131131

132-
tsens_tz_sensor4 {
132+
sensor4-thermal {
133133
polling-delay-passive = <0>;
134134
polling-delay = <0>;
135135
thermal-sensors = <&tsens 4>;
@@ -149,7 +149,7 @@
149149
};
150150
};
151151

152-
tsens_tz_sensor5 {
152+
sensor5-thermal {
153153
polling-delay-passive = <0>;
154154
polling-delay = <0>;
155155
thermal-sensors = <&tsens 5>;
@@ -169,7 +169,7 @@
169169
};
170170
};
171171

172-
tsens_tz_sensor6 {
172+
sensor6-thermal {
173173
polling-delay-passive = <0>;
174174
polling-delay = <0>;
175175
thermal-sensors = <&tsens 6>;
@@ -189,7 +189,7 @@
189189
};
190190
};
191191

192-
tsens_tz_sensor7 {
192+
sensor7-thermal {
193193
polling-delay-passive = <0>;
194194
polling-delay = <0>;
195195
thermal-sensors = <&tsens 7>;
@@ -209,7 +209,7 @@
209209
};
210210
};
211211

212-
tsens_tz_sensor8 {
212+
sensor8-thermal {
213213
polling-delay-passive = <0>;
214214
polling-delay = <0>;
215215
thermal-sensors = <&tsens 8>;
@@ -229,7 +229,7 @@
229229
};
230230
};
231231

232-
tsens_tz_sensor9 {
232+
sensor9-thermal {
233233
polling-delay-passive = <0>;
234234
polling-delay = <0>;
235235
thermal-sensors = <&tsens 9>;
@@ -249,7 +249,7 @@
249249
};
250250
};
251251

252-
tsens_tz_sensor10 {
252+
sensor10-thermal {
253253
polling-delay-passive = <0>;
254254
polling-delay = <0>;
255255
thermal-sensors = <&tsens 10>;
@@ -751,7 +751,7 @@
751751
interrupt-names = "uplow";
752752

753753
#qcom,sensors = <11>;
754-
#thermal-sensor-cells = <1>;
754+
#thermal-sensorcells = <1>;
755755
};
756756
};
757757

arch/arm/boot/dts/qcom-msm8974.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
};
143143

144144
thermal-zones {
145-
cpu-thermal0 {
145+
cpu0-thermal {
146146
polling-delay-passive = <250>;
147147
polling-delay = <1000>;
148148

@@ -162,7 +162,7 @@
162162
};
163163
};
164164

165-
cpu-thermal1 {
165+
cpu1-thermal {
166166
polling-delay-passive = <250>;
167167
polling-delay = <1000>;
168168

@@ -182,7 +182,7 @@
182182
};
183183
};
184184

185-
cpu-thermal2 {
185+
cpu2-thermal {
186186
polling-delay-passive = <250>;
187187
polling-delay = <1000>;
188188

@@ -202,7 +202,7 @@
202202
};
203203
};
204204

205-
cpu-thermal3 {
205+
cpu3-thermal {
206206
polling-delay-passive = <250>;
207207
polling-delay = <1000>;
208208

@@ -282,7 +282,7 @@
282282
};
283283
};
284284

285-
gpu-thermal-top {
285+
gpu-top-thermal {
286286
polling-delay-passive = <250>;
287287
polling-delay = <1000>;
288288

@@ -297,7 +297,7 @@
297297
};
298298
};
299299

300-
gpu-thermal-bottom {
300+
gpu-bottom-thermal {
301301
polling-delay-passive = <250>;
302302
polling-delay = <1000>;
303303

0 commit comments

Comments
 (0)