[PATCH v2 1/4] dt-bindings: aspeed-sgpio: Convert txt bindings to yaml.
linus.walleij at linaro.org
Tue Jun 1 20:16:27 AEST 2021
On Mon, May 31, 2021 at 7:23 AM Steven Lee <steven_lee at aspeedtech.com> wrote:
> The parameter max-ngpios is the maxmum number of gpio pins that SoC supported,
> ngpios is the maximum number of gpio pins that sgpio devices(e.g. sgpio cards) supported.
When you put it like that you really make it sound like you already
know, just looking at the compatible string, what max-ngpios is?
I.e. do you know for these three:
the unique number of slots for each? A 1-to-1 correspondance?
Then just add code to set this value from looking at the compatible
in the driver. You can write some text in description in these bindings
about how many slots each SoC has but there is no need to add any
extra parameter if you already know this from the SoC.
More information about the Linux-aspeed