devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable MMIO GPIO on BCMBCA
@ 2024-09-17 12:44 Linus Walleij
  2024-09-17 12:44 ` [PATCH 1/2] dt-bindings: gpio: Add BCMBCA to MMIO compatibles Linus Walleij
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Linus Walleij @ 2024-09-17 12:44 UTC (permalink / raw)
  To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, William Zhang, Florian Fainelli
  Cc: linux-gpio, devicetree, Linus Walleij

The Broadcom BCA (Broadband Access) SoC:s all have a dirt-simple
MMIO GPIO.

It's exposed as a direction register per 32-bit block at
(base) and a data register per 32-bit block at (block+0x20).

However I wouldn't want to use any of the old compatibles
becaus for this undocumented SoC I have a gut feeling that
there may be registers we don't know about at (block+0x40)
etc and a separate compatible will be needed to slot in
a more elaborate driver later.

Let's do this the hard way and create a new compatible,
and probe regular MMIO with that for now.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (2):
      dt-bindings: gpio: Add BCMBCA to MMIO compatibles
      gpio: mmio: Support BCMBCA GPIO compatible

 Documentation/devicetree/bindings/gpio/gpio-mmio.yaml | 1 +
 drivers/gpio/gpio-mmio.c                              | 1 +
 2 files changed, 2 insertions(+)
---
base-commit: 98f7e32f20d28ec452afb208f9cffc08448a2652
change-id: 20240917-bcmbca-gpio-mmio-5da863cf5a5d

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


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

end of thread, other threads:[~2024-09-19  0:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17 12:44 [PATCH 0/2] Enable MMIO GPIO on BCMBCA Linus Walleij
2024-09-17 12:44 ` [PATCH 1/2] dt-bindings: gpio: Add BCMBCA to MMIO compatibles Linus Walleij
2024-09-17 12:44 ` [PATCH 2/2] gpio: mmio: Support BCMBCA GPIO compatible Linus Walleij
2024-09-17 18:13 ` [PATCH 0/2] Enable MMIO GPIO on BCMBCA William Zhang
2024-09-17 19:03   ` Linus Walleij
2024-09-19  0:42     ` William Zhang

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).