dt-bindings: gpio: nomadik: add optional ngpios property

This GPIO controller can support a lesser number of GPIOs than 32.
Express that in devicetree using an optional, generic property.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20240228-mbly-gpio-v2-2-3ba757474006@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Théo Lebrun 2024-02-28 12:28:00 +01:00 committed by Linus Walleij
parent 62361b3831
commit a610f54485

View File

@ -51,6 +51,10 @@ properties:
gpio-ranges:
maxItems: 1
ngpios:
minimum: 0
maximum: 32
required:
- compatible
- reg