]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: gpio-mmio: Add ngpios property
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 17 Oct 2024 06:46:08 +0000 (08:46 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 18 Oct 2024 07:45:33 +0000 (09:45 +0200)
commitb4c69d471b72aa70766d94a11c31bc4c13f29eac
tree3149b7e688144b7b0ca90e7acd556a4439bb1a74
parent678eefc1ca5f2b061951abe8ffdf290ce104dd8f
dt-bindings: gpio-mmio: Add ngpios property

This adds the ngpios property to MMIO GPIO. We restrict the
property to 1..63 since there is no point in 0 GPIO lines and
we support up to 64bits wide registers for now.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241017-gpio-ngpios-v2-1-cecfdb38d40e@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-mmio.yaml