Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] pinctrl: amd: Add Remote GPIO (RGPIO) bank support
@ 2026-09-21  5:27 Basavaraj Natikar
  2026-09-21  5:27 ` [PATCH v2 1/3] pinctrl: amd: Centralize per-pin register access Basavaraj Natikar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Basavaraj Natikar @ 2026-09-21  5:27 UTC (permalink / raw)
  To: linusw
  Cc: Shyam-sundar.S-k, Matt.Devillier, Guruvendra.Punugupati,
	linux-gpio, Basavaraj Natikar

Some AMD platforms expose a second GPIO register bank, Remote GPIO
(RGPIO), covering pins 256-271 through a separate MMIO region that the
platform advertises by name. This series adds support for it.

The first two patches are preparation: one centralizes per-pin register
access behind a single helper, the other factors the optional
named-resource lookup into a reusable helper with a minimum-size check.
The last patch adds the RGPIO bank itself, including its pins, groups,
pinmux and interrupts.

The RGPIO pins are registered only when the platform advertises the
region and the main bank spans the expected number of registers, so
platforms that do not expose it are unaffected.

Changes in v2:
- Rebased onto the pinctrl "devel" branch (Linus Walleij).

Basavaraj Natikar (3):
  pinctrl: amd: Centralize per-pin register access
  pinctrl: amd: Factor out optional named resource lookup
  pinctrl: amd: Add support for the Remote GPIO (RGPIO) bank

 drivers/pinctrl/pinctrl-amd.c | 237 ++++++++++++++++++++++++++--------
 drivers/pinctrl/pinctrl-amd.h | 174 +++++++++++++++++++++++++
 2 files changed, 354 insertions(+), 57 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-10-01 13:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-21  5:27 [PATCH v2 0/3] pinctrl: amd: Add Remote GPIO (RGPIO) bank support Basavaraj Natikar
2026-09-21  5:27 ` [PATCH v2 1/3] pinctrl: amd: Centralize per-pin register access Basavaraj Natikar
2026-09-21  5:27 ` [PATCH v2 2/3] pinctrl: amd: Factor out optional named resource lookup Basavaraj Natikar
2026-09-21  5:27 ` [PATCH v2 3/3] pinctrl: amd: Add support for the Remote GPIO (RGPIO) bank Basavaraj Natikar
2026-10-01  6:48 ` [PATCH v2 0/3] pinctrl: amd: Add Remote GPIO (RGPIO) bank support Linus Walleij
2026-10-01 13:32   ` Mario Limonciello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox