Skip to content

Commit 4d93ffe

Browse files
ukleinekvineetgarc
authored andcommitted
ARC: dts: Replace deprecated snps,nr-gpios property for snps,dw-apb-gpio-port devices
snps,dw-apb-gpio-port is deprecated since commit ef42a8d ("dt-bindings: gpio: dwapb: Add ngpios property support"). The respective driver supports this since commit 7569486 ("gpio: dwapb: Add ngpios DT-property support") which is included in Linux v5.10-rc1. This change was created using git grep -l snps,nr-gpios arch/arc/boot/dts | xargs perl -p -i -e 's/\bsnps,nr-gpios\b/ngpios/ . Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent 1e8af9f commit 4d93ffe

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

arch/arc/boot/dts/axc001.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
compatible = "snps,dw-apb-gpio-port";
5555
gpio-controller;
5656
#gpio-cells = <2>;
57-
snps,nr-gpios = <30>;
57+
ngpios = <30>;
5858
reg = <0>;
5959
interrupt-controller;
6060
#interrupt-cells = <2>;

arch/arc/boot/dts/axc003.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
compatible = "snps,dw-apb-gpio-port";
6363
gpio-controller;
6464
#gpio-cells = <2>;
65-
snps,nr-gpios = <30>;
65+
ngpios = <30>;
6666
reg = <0>;
6767
interrupt-controller;
6868
#interrupt-cells = <2>;

arch/arc/boot/dts/axc003_idu.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
compatible = "snps,dw-apb-gpio-port";
7070
gpio-controller;
7171
#gpio-cells = <2>;
72-
snps,nr-gpios = <30>;
72+
ngpios = <30>;
7373
reg = <0>;
7474
interrupt-controller;
7575
#interrupt-cells = <2>;

arch/arc/boot/dts/axs10x_mb.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,23 +250,23 @@
250250
compatible = "snps,dw-apb-gpio-port";
251251
gpio-controller;
252252
#gpio-cells = <2>;
253-
snps,nr-gpios = <32>;
253+
ngpios = <32>;
254254
reg = <0>;
255255
};
256256

257257
gpio0_bankb: gpio-controller@1 {
258258
compatible = "snps,dw-apb-gpio-port";
259259
gpio-controller;
260260
#gpio-cells = <2>;
261-
snps,nr-gpios = <8>;
261+
ngpios = <8>;
262262
reg = <1>;
263263
};
264264

265265
gpio0_bankc: gpio-controller@2 {
266266
compatible = "snps,dw-apb-gpio-port";
267267
gpio-controller;
268268
#gpio-cells = <2>;
269-
snps,nr-gpios = <8>;
269+
ngpios = <8>;
270270
reg = <2>;
271271
};
272272
};
@@ -281,23 +281,23 @@
281281
compatible = "snps,dw-apb-gpio-port";
282282
gpio-controller;
283283
#gpio-cells = <2>;
284-
snps,nr-gpios = <30>;
284+
ngpios = <30>;
285285
reg = <0>;
286286
};
287287

288288
gpio1_bankb: gpio-controller@1 {
289289
compatible = "snps,dw-apb-gpio-port";
290290
gpio-controller;
291291
#gpio-cells = <2>;
292-
snps,nr-gpios = <10>;
292+
ngpios = <10>;
293293
reg = <1>;
294294
};
295295

296296
gpio1_bankc: gpio-controller@2 {
297297
compatible = "snps,dw-apb-gpio-port";
298298
gpio-controller;
299299
#gpio-cells = <2>;
300-
snps,nr-gpios = <8>;
300+
ngpios = <8>;
301301
reg = <2>;
302302
};
303303
};

arch/arc/boot/dts/hsdk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
compatible = "snps,dw-apb-gpio-port";
309309
gpio-controller;
310310
#gpio-cells = <2>;
311-
snps,nr-gpios = <24>;
311+
ngpios = <24>;
312312
reg = <0>;
313313
};
314314
};

0 commit comments

Comments
 (0)