diff options
| author | Binbin Zhou <zhoubinbin@loongson.cn> | 2026-03-07 11:25:10 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-03-17 16:48:55 +0530 |
| commit | ffee2dc04e7e06534aaa4fd51ef89645b809b6b8 (patch) | |
| tree | a3ec7c737d19d67784dee1251a176d275d90a7d5 /drivers/dma/loongson/Kconfig | |
| parent | 2d5c2952b972be1cc87c215a2636d208b5e483d4 (diff) | |
| download | lwn-ffee2dc04e7e06534aaa4fd51ef89645b809b6b8.tar.gz lwn-ffee2dc04e7e06534aaa4fd51ef89645b809b6b8.zip | |
dmaengine: loongson: New directory for Loongson DMA controllers drivers
Gather the Loongson DMA controllers under drivers/dma/loongson/
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Keguang Zhang <keguang.zhang@gmail.com>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://patch.msgid.link/0a0853a85630724741061f6fe08680610e49a06e.1772853681.git.zhoubinbin@loongson.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/loongson/Kconfig')
| -rw-r--r-- | drivers/dma/loongson/Kconfig | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/dma/loongson/Kconfig b/drivers/dma/loongson/Kconfig new file mode 100644 index 000000000000..0a865a8fd3a6 --- /dev/null +++ b/drivers/dma/loongson/Kconfig @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Loongson DMA controllers drivers +# +if MACH_LOONGSON32 || MACH_LOONGSON64 || COMPILE_TEST + +config LOONGSON1_APB_DMA + tristate "Loongson1 APB DMA support" + depends on MACH_LOONGSON32 || COMPILE_TEST + select DMA_ENGINE + select DMA_VIRTUAL_CHANNELS + help + This selects support for the APB DMA controller in Loongson1 SoCs, + which is required by Loongson1 NAND and audio support. + +config LOONGSON2_APB_DMA + tristate "Loongson2 APB DMA support" + depends on MACH_LOONGSON64 || COMPILE_TEST + select DMA_ENGINE + select DMA_VIRTUAL_CHANNELS + help + Support for the Loongson2 APB DMA controller driver. The + DMA controller is having single DMA channel which can be + configured for different peripherals like audio, nand, sdio + etc which is in APB bus. + + This DMA controller transfers data from memory to peripheral fifo. + It does not support memory to memory data transfer. + +endif |
