From: Jammy Huang <jammy_huang@aspeedtech.com>
To: <jassisinghbrar@gmail.com>, <robh@kernel.org>,
<krzk+dt@kernel.org>, <conor+dt@kernel.org>, <joel@jms.id.au>,
<andrew@codeconstruct.com.au>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-aspeed@lists.ozlabs.org>
Subject: [PATCH v4 0/2] [PATCH v4 0/2] ASPEED: Add mailbox driver for AST2700 series
Date: Mon, 23 Jun 2025 10:44:54 +0800 [thread overview]
Message-ID: <20250623024456.2068370-1-jammy_huang@aspeedtech.com> (raw)
Add mailbox controller driver for AST27XX SoCs, which provides
independent tx/rx mailbox between different processors. There are 4
channels for each tx/rx mailbox and each channel has an 32-byte FIFO.
v4 changes:
- Update driver, no functional changes.
1. Remove unused variable, rx_buff, in struct ast2700_mbox.
2. Remove unneeded cast on device_get_match_data.
3. Remove the usage of writel/readl_relaxed.
4. Improve readability.
v3 changes:
- Correct document
1. Use 32-bit addressing in dts example property, reg.
v2 changes:
- Update document
1. Correct error in dts example.
2. Drop description for mbox-cell per suggestion previously.
Jammy Huang (2):
dt-bindings: mailbox: Add ASPEED AST2700 series SoC
mailbox: aspeed: add mailbox driver for AST27XX series SoC
.../mailbox/aspeed,ast2700-mailbox.yaml | 57 +++++
drivers/mailbox/Kconfig | 8 +
drivers/mailbox/Makefile | 2 +
drivers/mailbox/ast2700-mailbox.c | 230 ++++++++++++++++++
4 files changed, 297 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mailbox/aspeed,ast2700-mailbox.yaml
create mode 100644 drivers/mailbox/ast2700-mailbox.c
base-commit: ec7714e4947909190ffb3041a03311a975350fe0
--
2.25.1
next reply other threads:[~2025-06-23 2:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-23 2:44 Jammy Huang [this message]
2025-06-23 2:44 ` [PATCH v4 1/2] dt-bindings: mailbox: Add ASPEED AST2700 series SoC Jammy Huang
2025-06-25 0:28 ` Andrew Jeffery
2025-06-25 0:34 ` Jammy Huang
2025-06-25 0:52 ` Andrew Jeffery
2025-06-25 3:03 ` Jammy Huang
2025-06-23 2:44 ` [PATCH v4 2/2] mailbox: aspeed: add mailbox driver for AST27XX " Jammy Huang
2025-06-25 1:12 ` Andrew Jeffery
2025-06-25 3:05 ` Jammy Huang
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=20250623024456.2068370-1-jammy_huang@aspeedtech.com \
--to=jammy_huang@aspeedtech.com \
--cc=andrew@codeconstruct.com.au \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jassisinghbrar@gmail.com \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.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