diff options
author | Théo Lebrun <theo.lebrun@bootlin.com> | 2024-02-28 14:28:00 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-02-29 12:16:49 +0300 |
commit | a610f544854374cd108dd75e8a0d5473d011fa37 (patch) | |
tree | f4ff56d63ec5874398cd8b4e5b0b5b807d7d75bf /Documentation/devicetree/bindings/gpio | |
parent | 62361b38315f1d4ae7b6d5311bb3890d660a133f (diff) | |
download | linux-a610f544854374cd108dd75e8a0d5473d011fa37.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml index ba1cc69fbbb3..aa905f001c8f 100644 --- a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml @@ -51,6 +51,10 @@ properties: gpio-ranges: maxItems: 1 + ngpios: + minimum: 0 + maximum: 32 + required: - compatible - reg |