mbox series

[v2,0/4] pcf857x: DTS fixes and DT binding to json-schema conversion

Message ID cover.1622560799.git.geert+renesas@glider.be
Headers show
Series pcf857x: DTS fixes and DT binding to json-schema conversion | expand

Message

Geert Uytterhoeven June 1, 2021, 3:25 p.m. UTC
Hi all,

This patch series converts the PCF857x-compatible I/O expanders Device
Tree binding documentation to json-schema, after fixing a few issues in
DT binding examples and DTS files.

Changes compared to v1[1]:
  - Drop applied fixes,
  - Drop "ti,pcf8575" from examples and DTS files,
  - Drop support for "ti,pcf8575", as it's 100% compatible with
    "nxp,pcf8575",
  - Drop "hog-[0-9]+" from hog names,
  - Rely on dt-schema/schemas/gpio/gpio-hog.yaml for hog properties.

Thanks!

[1] [PATCH 0/3] pcf857x: DTS fixes and DT binding to json-schema conversion
    https://lore.kernel.org/r/cover.1621583562.git.geert+renesas@glider.be/

Geert Uytterhoeven (4):
  dt-bindings: i2c: ce4100: Replace "ti,pcf8575" by "nxp,pcf8575"
  ARM: dts: dra7x-evm: Drop "ti,pcf8575"
  x86: ce4100: Replace "ti,pcf8575" by "nxp,pcf8575"
  dt-bindings: gpio: pcf857x: Convert to json-schema

 .../devicetree/bindings/gpio/gpio-pcf857x.txt |  69 ------------
 .../devicetree/bindings/gpio/nxp,pcf8575.yaml | 103 ++++++++++++++++++
 .../bindings/i2c/i2c-pxa-pci-ce4100.txt       |   4 +-
 arch/arm/boot/dts/dra7-evm.dts                |   6 +-
 arch/arm/boot/dts/dra72-evm-common.dtsi       |   4 +-
 arch/arm/boot/dts/dra76-evm.dts               |   6 +-
 arch/x86/platform/ce4100/falconfalls.dts      |   4 +-
 7 files changed, 115 insertions(+), 81 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-pcf857x.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml

Comments

Rob Herring (Arm) June 4, 2021, 9:52 p.m. UTC | #1
On Tue, 01 Jun 2021 17:25:47 +0200, Geert Uytterhoeven wrote:
> Convert the PCF857x-compatible I/O expanders Device Tree binding
> documentation to json-schema.
> 
> Document missing compatible values, properties, and gpio hogs.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v2:
>   - Drop support for "ti,pcf8575", as it's 100% compatible with
>     "nxp,pcf8575",
>   - Drop "hog-[0-9]+" from hog names,
>   - Rely on dt-schema/schemas/gpio/gpio-hog.yaml for hog properties.
> ---
>  .../devicetree/bindings/gpio/gpio-pcf857x.txt |  69 ------------
>  .../devicetree/bindings/gpio/nxp,pcf8575.yaml | 103 ++++++++++++++++++
>  2 files changed, 103 insertions(+), 69 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-pcf857x.txt
>  create mode 100644 Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Linus Walleij June 4, 2021, 10:05 p.m. UTC | #2
On Tue, Jun 1, 2021 at 5:25 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> Convert the PCF857x-compatible I/O expanders Device Tree binding

> documentation to json-schema.

>

> Document missing compatible values, properties, and gpio hogs.

>

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>


Reviewed-by: Linus Walleij <linus.walleij@linaro.org>


Yours,
Linus Walleij
Bartosz Golaszewski June 25, 2021, 10:35 a.m. UTC | #3
On Tue, Jun 1, 2021 at 5:25 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> Convert the PCF857x-compatible I/O expanders Device Tree binding
> documentation to json-schema.
>
> Document missing compatible values, properties, and gpio hogs.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---

Applied with Linus' and Rob's tags.

Bart