[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YIm1REuYDPUwqSYf@lunn.ch>
Date: Wed, 28 Apr 2021 21:19:32 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Corentin Labbe <clabbe@...libre.com>
Cc: hkallweit1@...il.com, linux@...linux.org.uk, robh+dt@...nel.org,
linus.walleij@...aro.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: net: Convert mdio-gpio to yaml
> + 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.
Andrew
Powered by blists - more mailing lists