mbox series

[v2,0/5] dt-bindings: gpio: omap: Convert to json-schema

Message ID 20210525175858.11611-1-grygorii.strashko@ti.com
Headers show
Series dt-bindings: gpio: omap: Convert to json-schema | expand

Message

Grygorii Strashko May 25, 2021, 5:58 p.m. UTC
Hi

Convert the OMAP GPIO Device Tree binding documentation to json-schema.
The GPIO hogs node names defined to end with a 'hog' suffix.

All existing GPIO Hogs fixed to follow above naming convention
before changing the binding to avoid dtbs_check warnings.

Changes in v2:
- Patch 5 fixed "wrong indentation" warning

v1: https://lore.kernel.org/patchwork/cover/1434566/

Grygorii Strashko (5):
  ARM: dts: am335x: align GPIO hog names with dt-schema
  ARM: dts: am437x: align gpio hog names with dt-schema
  ARM: dts: omap3: align gpio hog names with dt-schema
  ARM: dts: omap5-board-common: align gpio hog names with dt-schema
  dt-bindings: gpio: omap: Convert to json-schema

 .../devicetree/bindings/gpio/gpio-omap.txt    |  45 --------
 .../bindings/gpio/ti,omap-gpio.yaml           | 108 ++++++++++++++++++
 .../boot/dts/am335x-boneblack-wireless.dts    |   2 +-
 arch/arm/boot/dts/am335x-boneblue.dts         |   2 +-
 .../boot/dts/am335x-bonegreen-wireless.dts    |   4 +-
 arch/arm/boot/dts/am335x-icev2.dts            |   4 +-
 arch/arm/boot/dts/am335x-shc.dts              |   8 +-
 arch/arm/boot/dts/am437x-gp-evm.dts           |   4 +-
 arch/arm/boot/dts/am43x-epos-evm.dts          |   2 +-
 .../boot/dts/omap3-evm-processor-common.dtsi  |   2 +-
 arch/arm/boot/dts/omap3-gta04a5.dts           |   2 +-
 arch/arm/boot/dts/omap5-board-common.dtsi     |   2 +-
 12 files changed, 124 insertions(+), 61 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-omap.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/ti,omap-gpio.yaml

Comments

Grygorii Strashko May 26, 2021, 10:06 a.m. UTC | #1
Hi Tony, Linus, Bartosz,

On 25/05/2021 20:58, Grygorii Strashko wrote:
> Hi
> 
> Convert the OMAP GPIO Device Tree binding documentation to json-schema.
> The GPIO hogs node names defined to end with a 'hog' suffix.
> 
> All existing GPIO Hogs fixed to follow above naming convention
> before changing the binding to avoid dtbs_check warnings.

There is one note. The DT bindings change, without DTS changes, will
cause dtbs_check warnings, so all these patches better to be merged through one tree.

> 
> Changes in v2:
> - Patch 5 fixed "wrong indentation" warning
> 
> v1: https://lore.kernel.org/patchwork/cover/1434566/
> 
> Grygorii Strashko (5):
>    ARM: dts: am335x: align GPIO hog names with dt-schema
>    ARM: dts: am437x: align gpio hog names with dt-schema
>    ARM: dts: omap3: align gpio hog names with dt-schema
>    ARM: dts: omap5-board-common: align gpio hog names with dt-schema
>    dt-bindings: gpio: omap: Convert to json-schema
> 
>   .../devicetree/bindings/gpio/gpio-omap.txt    |  45 --------
>   .../bindings/gpio/ti,omap-gpio.yaml           | 108 ++++++++++++++++++
>   .../boot/dts/am335x-boneblack-wireless.dts    |   2 +-
>   arch/arm/boot/dts/am335x-boneblue.dts         |   2 +-
>   .../boot/dts/am335x-bonegreen-wireless.dts    |   4 +-
>   arch/arm/boot/dts/am335x-icev2.dts            |   4 +-
>   arch/arm/boot/dts/am335x-shc.dts              |   8 +-
>   arch/arm/boot/dts/am437x-gp-evm.dts           |   4 +-
>   arch/arm/boot/dts/am43x-epos-evm.dts          |   2 +-
>   .../boot/dts/omap3-evm-processor-common.dtsi  |   2 +-
>   arch/arm/boot/dts/omap3-gta04a5.dts           |   2 +-
>   arch/arm/boot/dts/omap5-board-common.dtsi     |   2 +-
>   12 files changed, 124 insertions(+), 61 deletions(-)
>   delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-omap.txt
>   create mode 100644 Documentation/devicetree/bindings/gpio/ti,omap-gpio.yaml
>
Tony Lindgren May 27, 2021, 12:01 p.m. UTC | #2
* Grygorii Strashko <grygorii.strashko@ti.com> [210526 10:06]:
> Hi Tony, Linus, Bartosz,
> 
> On 25/05/2021 20:58, Grygorii Strashko wrote:
> > Hi
> > 
> > Convert the OMAP GPIO Device Tree binding documentation to json-schema.
> > The GPIO hogs node names defined to end with a 'hog' suffix.
> > 
> > All existing GPIO Hogs fixed to follow above naming convention
> > before changing the binding to avoid dtbs_check warnings.
> 
> There is one note. The DT bindings change, without DTS changes, will
> cause dtbs_check warnings, so all these patches better to be merged through one tree.

So with the binding changes applied, I'm applying the dts changes
to omap-for-v5.14/dt thanks.

Regards,

Tony