From: Shan-Chun Hung <shanchun1218@gmail.com>
To: ychuang3@nuvoton.com, schung@nuvoton.com, vkoul@kernel.org,
Frank.Li@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, kees@kernel.org, gustavoars@kernel.org,
linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hardening@vger.kernel.org
Cc: Shan-Chun Hung <shanchun1218@gmail.com>
Subject: [PATCH v2 0/2] dmaengine: ma35d1-pdma: Add MA35D1 PDMA driver
Date: Mon, 9 Nov 2026 13:28:58 +0800 [thread overview]
Message-ID: <20261109052900.2960473-1-shanchun1218@gmail.com> (raw)
This series adds the PDMA controller driver and DT binding for the
Nuvoton MA35D1 SoC.
The driver supports memory-to-memory, slave scatter-gather and cyclic
transfers.
Tested on the MA35D1 SOM board with Linux v7.4-rc1:
- memory-to-memory with dmatest (2000 iterations of 1MB buffers, no failures)
- slave scatter-gather with a local (not yet submitted) QSPI patch
- cyclic slave with a local (not yet submitted) I2S patch
Changes in v2:
- Address issues identified by Sashiko AI review:
- Program registers on descriptor start instead of prep.
- Fix interrupt completion handling and return IRQ_NONE when idle.
- Set PDMA_TBINTDIS on intermediate memcpy chunks.
- Validate scatter-gather lengths and bus width alignment.
- Fix channel request assignment in of_xlate().
- Safe controller teardown order in remove().
- Drop peripheral timeout support to simplify driver.
- binding: describe the hardware in the description, and drop
dma-channels and the dt-bindings header.
- Use a fixed number of 10 channels and trim the includes.
Signed-off-by: Shan-Chun Hung <shanchun1218@gmail.com>
Shan-Chun Hung (2):
dt-bindings: dma: nuvoton,ma35d1-pdma: Document MA35D1 PDMA controller
dmaengine: ma35d1-pdma: Add MA35D1 PDMA driver
.../bindings/dma/nuvoton,ma35d1-pdma.yaml | 71 ++
drivers/dma/Kconfig | 12 +
drivers/dma/Makefile | 1 +
drivers/dma/ma35d1-pdma.c | 672 ++++++++++++++++++
4 files changed, 756 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dma/nuvoton,ma35d1-pdma.yaml
create mode 100644 drivers/dma/ma35d1-pdma.c
--
2.25.1
next reply other threads:[~2026-11-09 5:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 5:28 Shan-Chun Hung [this message]
2026-11-09 5:28 ` [PATCH v2 1/2] dt-bindings: dma: nuvoton,ma35d1-pdma: Document MA35D1 PDMA controller Shan-Chun Hung
2026-11-09 5:29 ` [PATCH v2 2/2] dmaengine: ma35d1-pdma: Add MA35D1 PDMA driver Shan-Chun Hung
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=20261109052900.2960473-1-shanchun1218@gmail.com \
--to=shanchun1218@gmail.com \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=gustavoars@kernel.org \
--cc=kees@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=schung@nuvoton.com \
--cc=vkoul@kernel.org \
--cc=ychuang3@nuvoton.com \
/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
all inboxes | Powered by JetHome®