Skip to content

Commit 203ed20

Browse files
krzkShawn Guo
authored andcommitted
arm64: dts: layerscape: fix thermal node names length
Linux kernel expects thermal zone node names to be maximum of 19 characters (see THERMAL_NAME_LENGTH, including terminating NUL byte) and bindings/dtbs_check points that: fsl-ls2088a-rdb.dtb: thermal-zones: 'core-cluster1-thermal', 'core-cluster2-thermal', 'core-cluster3-thermal', 'core-cluster4-thermal' do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$', 'pinctrl-[0-9]+' Name longer than 19 characters leads to driver probe errors when registering such thermal zone. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 8400291 commit 203ed20

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
};
176176
};
177177

178-
core-cluster-thermal {
178+
cluster-thermal {
179179
polling-delay-passive = <1000>;
180180
polling-delay = <5000>;
181181
thermal-sensors = <&tmu 1>;

arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
};
215215
};
216216

217-
core-cluster-thermal {
217+
cluster-thermal {
218218
polling-delay-passive = <1000>;
219219
polling-delay = <5000>;
220220
thermal-sensors = <&tmu 3>;

arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
};
183183
};
184184

185-
core-cluster-thermal {
185+
cluster-thermal {
186186
polling-delay-passive = <1000>;
187187
polling-delay = <5000>;
188188
thermal-sensors = <&tmu 3>;

arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
};
132132

133133
thermal-zones {
134-
core-cluster-thermal {
134+
cluster-thermal {
135135
polling-delay-passive = <1000>;
136136
polling-delay = <5000>;
137137
thermal-sensors = <&tmu 0>;

arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
};
123123
};
124124

125-
core-cluster1-thermal {
125+
cluster1-thermal {
126126
polling-delay-passive = <1000>;
127127
polling-delay = <5000>;
128128
thermal-sensors = <&tmu 4>;
@@ -151,7 +151,7 @@
151151
};
152152
};
153153

154-
core-cluster2-thermal {
154+
cluster2-thermal {
155155
polling-delay-passive = <1000>;
156156
polling-delay = <5000>;
157157
thermal-sensors = <&tmu 5>;
@@ -180,7 +180,7 @@
180180
};
181181
};
182182

183-
core-cluster3-thermal {
183+
cluster3-thermal {
184184
polling-delay-passive = <1000>;
185185
polling-delay = <5000>;
186186
thermal-sensors = <&tmu 6>;
@@ -209,7 +209,7 @@
209209
};
210210
};
211211

212-
core-cluster4-thermal {
212+
cluster4-thermal {
213213
polling-delay-passive = <1000>;
214214
polling-delay = <5000>;
215215
thermal-sensors = <&tmu 7>;

arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@
492492
};
493493
};
494494

495-
ddr-cluster5-thermal {
495+
ddr-ctrl5-thermal {
496496
polling-delay-passive = <1000>;
497497
polling-delay = <5000>;
498498
thermal-sensors = <&tmu 1>;

0 commit comments

Comments
 (0)