linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add Aspeed G7 gpio support
@ 2024-08-30  3:40 Billy Tsai
  2024-08-30  3:40 ` [PATCH v2 1/4] dt-bindings: gpio: aspeed,ast2400-gpio: Support ast2700 Billy Tsai
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Billy Tsai @ 2024-08-30  3:40 UTC (permalink / raw)
  To: linus.walleij, brgl, robh, krzk+dt, conor+dt, joel, andrew,
	linux-gpio, devicetree, linux-arm-kernel, linux-aspeed,
	linux-kernel, BMC-SW

The Aspeed 7th generation SoC features two GPIO controllers: one with 12
GPIO pins and another with 216 GPIO pins. The main difference from the
previous generation is that the control logic has been updated to support
per-pin control, allowing each pin to have its own 32-bit register for
configuring value, direction, interrupt type, and more.
This patch serial also add low-level operations (llops) to abstract the
register access for GPIO registers and the coprocessor request/release in
gpio-aspeed.c making it easier to extend the driver to support different
hardware register layouts.

Changes since v1:
- Merge the gpio-aspeed-g7.c into the gpio-aspeed.c.
- Create the llops in gpio-aspeed.c for flexibility.

Billy Tsai (4):
  dt-bindings: gpio: aspeed,ast2400-gpio: Support ast2700
  gpio: aspeed: Remove the name for bank array
  gpio: aspeed: Create llops to handle hardware access
  gpio: aspeed: Support G7 Aspeed gpio controller

 .../bindings/gpio/aspeed,ast2400-gpio.yaml    |  46 +-
 drivers/gpio/gpio-aspeed.c                    | 442 ++++++++++--------
 2 files changed, 303 insertions(+), 185 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-09-12  8:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30  3:40 [PATCH v2 0/4] Add Aspeed G7 gpio support Billy Tsai
2024-08-30  3:40 ` [PATCH v2 1/4] dt-bindings: gpio: aspeed,ast2400-gpio: Support ast2700 Billy Tsai
2024-08-30 14:04   ` Conor Dooley
2024-09-02  2:32     ` Billy Tsai
2024-08-31  5:49   ` Krzysztof Kozlowski
2024-08-30  3:40 ` [PATCH v2 2/4] gpio: aspeed: Remove the name for bank array Billy Tsai
2024-09-12  7:51   ` Andrew Jeffery
2024-09-12  7:57     ` Billy Tsai
2024-08-30  3:40 ` [PATCH v2 3/4] gpio: aspeed: Create llops to handle hardware access Billy Tsai
2024-08-30 16:07   ` kernel test robot
2024-08-31  1:46   ` kernel test robot
2024-08-31 16:05   ` Dan Carpenter
2024-09-12  8:18   ` Andrew Jeffery
2024-08-30  3:40 ` [PATCH v2 4/4] gpio: aspeed: Support G7 Aspeed gpio controller Billy Tsai
2024-08-31  3:39   ` 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).