pinctrl: amd: Add Remote GPIO (RGPIO) bank support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v13 patches 1 replySuperseded
Changes in v2 from the cover letter
- Rebased onto the pinctrl "devel" branch (Linus Walleij).
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | pinctrl: amd: Centralize per-pin register accessdrivers/ | +44 | 0 replies | |
| 2/3 | pinctrl: amd: Factor out optional named resource lookupdrivers/ | +19 | 0 replies | |
| 3/3 | pinctrl: amd: Add support for the Remote GPIO (RGPIO) bankdrivers/ drivers/ | +292 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] pinctrl: amd: Add Remote GPIO (RGPIO) bank support
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(-)
Signature · 1 line
2.34.1