Skip to content

Commit a6e9be0

Browse files
JassiBrarvinodkoul
authored andcommitted
dmaengine: milbeaut-xdmac: Add XDMAC driver for Milbeaut platforms
Driver for Socionext Milbeaut XDMAC controller. The controller only supports Mem-To-Mem transfers over upto 8 configurable channels. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> Link: https://lore.kernel.org/r/20191015033219.14713-1-jassisinghbrar@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 3708f89 commit a6e9be0

File tree

3 files changed

+429
-0
lines changed

3 files changed

+429
-0
lines changed

drivers/dma/Kconfig

+10
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,16 @@ config MILBEAUT_HDMAC
352352
Say yes here to support the Socionext Milbeaut
353353
HDMAC device.
354354

355+
config MILBEAUT_XDMAC
356+
tristate "Milbeaut AXI DMA support"
357+
depends on ARCH_MILBEAUT || COMPILE_TEST
358+
depends on OF
359+
select DMA_ENGINE
360+
select DMA_VIRTUAL_CHANNELS
361+
help
362+
Say yes here to support the Socionext Milbeaut
363+
XDMAC device.
364+
355365
config MMP_PDMA
356366
bool "MMP PDMA support"
357367
depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST

drivers/dma/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ obj-$(CONFIG_INTEL_MIC_X100_DMA) += mic_x100_dma.o
4646
obj-$(CONFIG_K3_DMA) += k3dma.o
4747
obj-$(CONFIG_LPC18XX_DMAMUX) += lpc18xx-dmamux.o
4848
obj-$(CONFIG_MILBEAUT_HDMAC) += milbeaut-hdmac.o
49+
obj-$(CONFIG_MILBEAUT_XDMAC) += milbeaut-xdmac.o
4950
obj-$(CONFIG_MMP_PDMA) += mmp_pdma.o
5051
obj-$(CONFIG_MMP_TDMA) += mmp_tdma.o
5152
obj-$(CONFIG_MOXART_DMA) += moxart-dma.o

0 commit comments

Comments
 (0)