From: Billy Tsai <billy_tsai@aspeedtech.com>
To: Linus Walleij <linusw@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>,
Joel Stanley <joel@jms.id.au>,
Andrew Jeffery <andrew@codeconstruct.com.au>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: <linux-gpio@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-aspeed@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>,
"Andrew Jeffery" <andrew@aj.id.au>, <devicetree@vger.kernel.org>,
<bmc-sw@aspeedtech.com>, Billy Tsai <billy_tsai@aspeedtech.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@oss.qualcomm.com>
Subject: [PATCH v2 0/6] Add Aspeed G7 sgpio support
Date: Fri, 23 Jan 2026 17:26:25 +0800 [thread overview]
Message-ID: <20260123-upstream_sgpio-v2-0-69cfd1631400@aspeedtech.com> (raw)
The Aspeed 7th generation SoC features two SGPIO master controllers: both
with 256 serial inputs and outputs. 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, interrupt type, and more.
This patch serial also add low-level operations (llops) to abstract the
register access for SGPIO registers making it easier to extend the driver
to support different hardware register layouts.
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
---
Changes in v2:
- Split the IRQ-related llops conversion into a separate patch to keep changes logically scoped.
- Minimized unrelated changes (such as variable renaming) to reduce diff noise and ease review.
- Clarified the llops design intent and semantics.
- Link to v1: https://lore.kernel.org/r/20260117-upstream_sgpio-v1-0-850ef3ffb680@aspeedtech.com
---
Billy Tsai (6):
gpio: aspeed-sgpio: Change the macro to support deferred probe
gpio: aspeed-sgpio: Remove unused bank name field
gpio: aspeed-sgpio: Create llops to handle hardware access
gpio: aspeed-sgpio: Convert IRQ functions to use llops callbacks
dt-bindings: gpio: aspeed,sgpio: Support ast2700
gpio: aspeed-sgpio: Support G7 Aspeed sgpiom controller
.../devicetree/bindings/gpio/aspeed,sgpio.yaml | 4 +-
drivers/gpio/gpio-aspeed-sgpio.c | 362 +++++++++++++--------
2 files changed, 227 insertions(+), 139 deletions(-)
---
base-commit: 39d3389331abd712461f50249722f7ed9d815068
change-id: 20251223-upstream_sgpio-70d815c64a19
Best regards,
--
Billy Tsai <billy_tsai@aspeedtech.com>
next reply other threads:[~2026-01-23 9:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-23 9:26 Billy Tsai [this message]
2026-01-23 9:26 ` [PATCH v2 1/6] gpio: aspeed-sgpio: Change the macro to support deferred probe Billy Tsai
2026-01-23 9:26 ` [PATCH v2 2/6] gpio: aspeed-sgpio: Remove unused bank name field Billy Tsai
2026-01-23 9:26 ` [PATCH v2 3/6] gpio: aspeed-sgpio: Create llops to handle hardware access Billy Tsai
2026-01-23 9:26 ` [PATCH v2 4/6] gpio: aspeed-sgpio: Convert IRQ functions to use llops callbacks Billy Tsai
2026-01-23 9:26 ` [PATCH v2 5/6] dt-bindings: gpio: aspeed,sgpio: Support ast2700 Billy Tsai
2026-01-23 9:26 ` [PATCH v2 6/6] gpio: aspeed-sgpio: Support G7 Aspeed sgpiom controller Billy Tsai
2026-01-27 10:18 ` [PATCH v2 0/6] Add Aspeed G7 sgpio support Bartosz Golaszewski
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=20260123-upstream_sgpio-v2-0-69cfd1631400@aspeedtech.com \
--to=billy_tsai@aspeedtech.com \
--cc=andrew@aj.id.au \
--cc=andrew@codeconstruct.com.au \
--cc=bmc-sw@aspeedtech.com \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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