Re: [PATCH V2] dt-bindings: gpio: Convert vf610 to json-schema

From: Linus Walleij
Date: Fri Aug 28 2020 - 05:13:31 EST


Hi Rob,

On Tue, Aug 18, 2020 at 4:12 AM Rob Herring <robh@xxxxxxxxxx> wrote:
> On Wed, 12 Aug 2020 15:52:21 +0800, Anson Huang wrote:
> > Convert the vf610 gpio binding to DT schema format using json-schema.
> >
> > Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> > ---
> > changes since V1:
> > - fix reg property to pass build;
> > - add "additionalProperties: false".
> > ---
> > .../devicetree/bindings/gpio/gpio-vf610.txt | 63 -----------------
> > .../devicetree/bindings/gpio/gpio-vf610.yaml | 81 ++++++++++++++++++++++
> > 2 files changed, 81 insertions(+), 63 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-vf610.txt
> > create mode 100644 Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> >
>
> Applied, thanks!

With the increasing number of nice GPIO yaml bindings I'm starting to
think we should create a Documentation/devicetree/bindings/gpio/common.yaml
and try to extract out commonalities, but your intuition is gonna be better
than mine about this, do you think it's worth it?

BR,
Linus Walleij