mbox series

[0/8] remove never-used "snps,dw-apb-gpio-port"

Message ID 20201015115524.24e3c36b@xhacker.debian (mailing list archive)
Headers show
Series remove never-used "snps,dw-apb-gpio-port" | expand

Message

Jisheng Zhang Oct. 15, 2020, 3:55 a.m. UTC
The "snps,dw-apb-gpio-port" is never used.

Jisheng Zhang (8):
  ARM: dts: berlin: Remove compatible string from dw apb gpio port
  ARM: dts: socfpga: Remove compatible string from dw apb gpio port
  arm64: dts: apm: remove compatible string from dw apb gpio port
  arm64: dts: bitmain: Remove compatible string from dw apb gpio port
  arm64: dts: hip05: Remove compatible string from dw apb gpio port
  arm: dts: socfpga: Remove compatible string from dw apb gpio port
  arm64: dts: synaptics: Remove compatible string from dw apb gpio port
  dt-bindings: gpio: dw-apb: remove never-used "snps,dw-apb-gpio-port"

 .../devicetree/bindings/gpio/snps,dw-apb-gpio.yaml          | 5 -----
 arch/arm/boot/dts/berlin2.dtsi                              | 6 ------
 arch/arm/boot/dts/berlin2cd.dtsi                            | 6 ------
 arch/arm/boot/dts/berlin2q.dtsi                             | 6 ------
 arch/arm/boot/dts/socfpga.dtsi                              | 3 ---
 arch/arm/boot/dts/socfpga_arria10.dtsi                      | 3 ---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi           | 2 --
 arch/arm64/boot/dts/apm/apm-shadowcat.dtsi                  | 1 -
 arch/arm64/boot/dts/apm/apm-storm.dtsi                      | 1 -
 arch/arm64/boot/dts/bitmain/bm1880.dtsi                     | 3 ---
 arch/arm64/boot/dts/hisilicon/hip05.dtsi                    | 2 --
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi               | 2 --
 arch/arm64/boot/dts/synaptics/as370.dtsi                    | 2 --
 arch/arm64/boot/dts/synaptics/berlin4ct.dtsi                | 6 ------
 14 files changed, 48 deletions(-)

Comments

Serge Semin Oct. 15, 2020, 11:40 a.m. UTC | #1
Hello Jisheng,

Thanks for sending this cleanup and for the work you've done in its framework.
The compatible property is indeed redundant in the DW APB GPIO bindings, because
any sub-node is considered as one of the device port from the set {A,B,C,D} and I
don't see why would we need to be there for anything else. The port index is
initialized by the reg property, which I've just realized lack of a proper
constraints.

Anyway see my comment to the DT binding file. The rest of the series is up to
the corresponding subsystem maintainers.

-Sergey

On Thu, Oct 15, 2020 at 11:55:24AM +0800, Jisheng Zhang wrote:
> The "snps,dw-apb-gpio-port" is never used.
> 
> Jisheng Zhang (8):
>   ARM: dts: berlin: Remove compatible string from dw apb gpio port
>   ARM: dts: socfpga: Remove compatible string from dw apb gpio port
>   arm64: dts: apm: remove compatible string from dw apb gpio port
>   arm64: dts: bitmain: Remove compatible string from dw apb gpio port
>   arm64: dts: hip05: Remove compatible string from dw apb gpio port
>   arm: dts: socfpga: Remove compatible string from dw apb gpio port
>   arm64: dts: synaptics: Remove compatible string from dw apb gpio port
>   dt-bindings: gpio: dw-apb: remove never-used "snps,dw-apb-gpio-port"
> 
>  .../devicetree/bindings/gpio/snps,dw-apb-gpio.yaml          | 5 -----
>  arch/arm/boot/dts/berlin2.dtsi                              | 6 ------
>  arch/arm/boot/dts/berlin2cd.dtsi                            | 6 ------
>  arch/arm/boot/dts/berlin2q.dtsi                             | 6 ------
>  arch/arm/boot/dts/socfpga.dtsi                              | 3 ---
>  arch/arm/boot/dts/socfpga_arria10.dtsi                      | 3 ---
>  arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi           | 2 --
>  arch/arm64/boot/dts/apm/apm-shadowcat.dtsi                  | 1 -
>  arch/arm64/boot/dts/apm/apm-storm.dtsi                      | 1 -
>  arch/arm64/boot/dts/bitmain/bm1880.dtsi                     | 3 ---
>  arch/arm64/boot/dts/hisilicon/hip05.dtsi                    | 2 --
>  arch/arm64/boot/dts/intel/socfpga_agilex.dtsi               | 2 --
>  arch/arm64/boot/dts/synaptics/as370.dtsi                    | 2 --
>  arch/arm64/boot/dts/synaptics/berlin4ct.dtsi                | 6 ------
>  14 files changed, 48 deletions(-)
> 
> -- 
> 2.28.0
>