Skip to contentSkip to conversation

ARM: dts: picoxcell: drop unused reg-io-width from DW APB GPIO controller

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Sep 17, 2020 – Sep 18, 2020 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: picoxcell: drop unused reg-io-width from DW APB GPIO controller

The Synopsys DesignWare APB GPIO controller driver does not parse reg-io-width and dtschema does not allow it so drop it to fix dtschema warnings like:

arch/arm/boot/dts/picoxcell-pc7302-pc3x2.dt.yaml: gpio@20000:

    'reg-io-width' does not match any of the regexes: '^gpio-(port|controller)@[0-9a-f]+$', 'pinctrl-[0-9]+'

---

Changes since v1:
1. New patch

---
 arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 1 -
 arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 1 -
 2 files changed, 2 deletions(-)
arch/arm/boot/dts/picoxcell-pc3x2.dtsi +0 -1
index 5ae860788339..c4c6c7e9e37b 100644
@@ -160,7 +160,6 @@
 				reg = <0x20000 0x1000>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				reg-io-width = <4>;
 
 				banka: gpio-controller@0 {
 					compatible = "snps,dw-apb-gpio-bank";
arch/arm/boot/dts/picoxcell-pc3x3.dtsi +0 -1
index fa93155fadb7..0e85bb6bd150 100644
@@ -243,7 +243,6 @@
 				reg = <0x20000 0x1000>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				reg-io-width = <4>;
 
 				banka: gpio-controller@0 {
 					compatible = "snps,dw-apb-gpio-bank";
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Krzysztof Kozlowski

The Synopsys DesignWare APB GPIO controller driver does not parse reg-io-width and dtschema does not allow it so drop it to fix dtschema warnings like:

arch/arm/boot/dts/picoxcell-pc7302-pc3x2.dt.yaml: gpio@20000:

    'reg-io-width' does not match any of the regexes: '^gpio-(port|controller)@[0-9a-f]+$', 'pinctrl-[0-9]+'

Thanks!