# Re: \[PATCH v2 22/52\] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema

- From: Rob Herring \<robh@kernel.org\>
- Date: 2021-09-03 19:32:58 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/09/8194664
- Thread: https://ratatoskr.run/linux-gpio/2021/09/8194449/t.md

```text
On Wed, 01 Sep 2021 11:18:22 +0200, Maxime Ripard wrote:
> The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> thanks to its device tree binding.
> 
> Now that we have the DT validation in place, let's convert the device
> tree bindings for that driver over to a YAML schema.
> 
> Cc: Bartosz Golaszewski <redacted>
> Cc: Chen-Yu Tsai <redacted>
> Cc: Linus Walleij <redacted>
> Cc: <redacted>
> Signed-off-by: Maxime Ripard <redacted>
> 
> ---
> 
> Changes from v1:
>   - Removed the example and moved it in the mfd schema
> ---
>  .../devicetree/bindings/gpio/gpio-axp209.txt  | 75 -------------------
>  .../bindings/gpio/x-powers,axp209-gpio.yaml   | 55 ++++++++++++++
>  2 files changed, 55 insertions(+), 75 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
>  create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> 

Reviewed-by: Rob Herring <robh@kernel.org>

This needs to be applied with the MFD schema.
```
