| From: |
| Binbin Zhou <zhoubinbin-AT-loongson.cn> |
| To: |
| Binbin Zhou <zhoubb.aaron-AT-gmail.com>, Huacai Chen <chenhuacai-AT-loongson.cn>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Vinod Koul <vkoul-AT-kernel.org>, dmaengine-AT-vger.kernel.org |
| Subject: |
| [PATCH 0/3] dmaengine: Add Loongson Multi-Channel DMA controller support |
| Date: |
| Tue, 03 Feb 2026 20:30:09 +0800 |
| Message-ID: |
| <cover.1770119693.git.zhoubinbin@loongson.cn> |
| Cc: |
| Xiaochuang Mao <maoxiaochuan-AT-loongson.cn>, Huacai Chen <chenhuacai-AT-kernel.org>, Xuerui Wang <kernel-AT-xen0n.name>, loongarch-AT-lists.linux.dev, devicetree-AT-vger.kernel.org, Keguang Zhang <keguang.zhang-AT-gmail.com>, Binbin Zhou <zhoubinbin-AT-loongson.cn> |
| Archive-link: |
| Article |
Hi all:
This patchset introduces the Loongson multi-channel DMA controller,
which is present in the Loongson-2K0300 and Loongson-2K3000 processors.
It is a multi-channel controller that enables data transfers from memory
to memory, device to memory, and memory to device, as well as channel
prioritization configurable through the channel configuration registers.
Additionally, since multiple distinct types of DMA controllers exist on
the Loongson platform, I have attempted to consolidate all Loongson DMA
drivers into a new directory named `Loongson` for easier management.
Thanks.
Binbin
Binbin Zhou (3):
dmaengine: loongson: New directory for Loongson DMA controllers
drivers
dt-bindings: dmaengine: Add Loongson Multi-Channel DMA controller
dmaengine: loongson: New driver for the Loongson Multi-Channel DMA
controller
.../bindings/dma/loongson,ls2k0300-dma.yaml | 78 ++
MAINTAINERS | 6 +-
drivers/dma/Kconfig | 25 +-
drivers/dma/Makefile | 3 +-
drivers/dma/loongson/Kconfig | 38 +
drivers/dma/loongson/Makefile | 4 +
.../dma/{ => loongson}/loongson1-apb-dma.c | 4 +-
drivers/dma/loongson/loongson2-apb-dma-v2.c | 759 ++++++++++++++++++
.../dma/{ => loongson}/loongson2-apb-dma.c | 4 +-
9 files changed, 890 insertions(+), 31 deletions(-)
create mode 100644 Documentation/devicetree/bindings/dma/loongson,ls2k0300-dma.yaml
create mode 100644 drivers/dma/loongson/Kconfig
create mode 100644 drivers/dma/loongson/Makefile
rename drivers/dma/{ => loongson}/loongson1-apb-dma.c (99%)
create mode 100644 drivers/dma/loongson/loongson2-apb-dma-v2.c
rename drivers/dma/{ => loongson}/loongson2-apb-dma.c (99%)
base-commit: 3c8a86ed002ab8fb287ee4ec92f0fd6ac5b291d2
--
2.47.3