From: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
To: <linusw@kernel.org>
Cc: <Shyam-sundar.S-k@amd.com>, <Matt.Devillier@amd.com>,
<Guruvendra.Punugupati@amd.com>, <linux-gpio@vger.kernel.org>,
"Basavaraj Natikar" <Basavaraj.Natikar@amd.com>
Subject: [PATCH v2 0/3] pinctrl: amd: Add Remote GPIO (RGPIO) bank support
Date: Mon, 21 Sep 2026 10:57:42 +0530 [thread overview]
Message-ID: <20260921052745.1056249-1-Basavaraj.Natikar@amd.com> (raw)
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
next reply other threads:[~2026-09-21 5:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 5:27 Basavaraj Natikar [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260921052745.1056249-1-Basavaraj.Natikar@amd.com \
--to=basavaraj.natikar@amd.com \
--cc=Guruvendra.Punugupati@amd.com \
--cc=Matt.Devillier@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox