Skip to content

Commit 9cd4360

Browse files
sthokalVinod Koul
authored andcommitted
dma: Add Xilinx AXI Video Direct Memory Access Engine driver support
This is the driver for the AXI Video Direct Memory Access (AXI VDMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type video target peripherals. The core provides efficient two dimensional DMA operations with independent asynchronous read and write channel operation. This module works on Zynq (ARM Based SoC) and Microblaze platforms. Signed-off-by: Srikanth Thokala <[email protected]> Acked-by: Jassi Brar <[email protected]> Reviewed-by: Levente Kurusa <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
1 parent eebeac0 commit 9cd4360

5 files changed

Lines changed: 1442 additions & 0 deletions

File tree

drivers/dma/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,20 @@ config FSL_EDMA
361361
multiplexing capability for DMA request sources(slot).
362362
This module can be found on Freescale Vybrid and LS-1 SoCs.
363363

364+
config XILINX_VDMA
365+
tristate "Xilinx AXI VDMA Engine"
366+
depends on (ARCH_ZYNQ || MICROBLAZE)
367+
select DMA_ENGINE
368+
help
369+
Enable support for Xilinx AXI VDMA Soft IP.
370+
371+
This engine provides high-bandwidth direct memory access
372+
between memory and AXI4-Stream video type target
373+
peripherals including peripherals which support AXI4-
374+
Stream Video Protocol. It has two stream interfaces/
375+
channels, Memory Mapped to Stream (MM2S) and Stream to
376+
Memory Mapped (S2MM) for the data transfers.
377+
364378
config DMA_ENGINE
365379
bool
366380

drivers/dma/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ obj-$(CONFIG_K3_DMA) += k3dma.o
4646
obj-$(CONFIG_MOXART_DMA) += moxart-dma.o
4747
obj-$(CONFIG_FSL_EDMA) += fsl-edma.o
4848
obj-$(CONFIG_QCOM_BAM_DMA) += qcom_bam_dma.o
49+
obj-y += xilinx/

drivers/dma/xilinx/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
obj-$(CONFIG_XILINX_VDMA) += xilinx_vdma.o

0 commit comments

Comments
 (0)