Re: [PATCH] dt-bindings: net: Convert mdio-gpio to yaml

From: LABBE Corentin
Date: Thu Apr 29 2021 - 15:24:09 EST


Le Wed, Apr 28, 2021 at 09:19:32PM +0200, Andrew Lunn a écrit :
> > + gpios:
> > + minItems: 2
> > + description: |
> > + MDC and MDIO lines connected to GPIO controllers are listed in
> > + the gpios property as described in section VIII.1 in the
> > + following order: MDC, MDIO.
>
> You should probably add maxItems: 3, or however you describe this in
> yaml. You often find with x86 machines you don't have GPIOs, just GPI
> and GPO, and you need to combine two to form the MDIO line of the MDIO
> bus.
>

I will do it.
Thanks