linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] gpio: mmio: Support ngpios property
@ 2024-10-16  7:21 Linus Walleij
  2024-10-16  7:21 ` [PATCH 1/2] dt-bindings: gpio-mmio: Add " Linus Walleij
  2024-10-16  7:21 ` [PATCH 2/2] gpio: mmio: Parse " Linus Walleij
  0 siblings, 2 replies; 9+ messages in thread
From: Linus Walleij @ 2024-10-16  7:21 UTC (permalink / raw)
  To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-gpio, devicetree, Linus Walleij

I thought this generic property was already supported by the
generic MMIO bindings and code, but no.

It's a pretty obvious usecase to just use some from 0..n
of a MMIO GPIO bank, so add support for this.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (2):
      dt-bindings: gpio-mmio: Add ngpios property
      gpio: mmio: Parse ngpios property

 Documentation/devicetree/bindings/gpio/gpio-mmio.yaml | 13 ++++++++++++-
 drivers/gpio/gpio-mmio.c                              |  4 ++++
 2 files changed, 16 insertions(+), 1 deletion(-)
---
base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
change-id: 20241016-gpio-ngpios-0cad57f0a757

Best regards,
-- 
Linus Walleij <linus.walleij@linaro.org>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-17  2:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-16  7:21 [PATCH 0/2] gpio: mmio: Support ngpios property Linus Walleij
2024-10-16  7:21 ` [PATCH 1/2] dt-bindings: gpio-mmio: Add " Linus Walleij
2024-10-16 15:47   ` Rob Herring
2024-10-16 18:31     ` Linus Walleij
2024-10-16 18:58       ` Rob Herring
2024-10-16 19:12         ` Linus Walleij
2024-10-16  7:21 ` [PATCH 2/2] gpio: mmio: Parse " Linus Walleij
2024-10-17  2:05   ` kernel test robot
2024-10-17  2:05   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).