dmaengine: Add driver for Altera / Intel mSGDMA IP core
This driver adds support for the Altera / Intel modular Scatter-Gather Direct Memory Access (mSGDMA) intellectual property (IP) to the Linux DMAengine subsystem. Currently it supports the following op modes: - DMA_MEMCPY - DMA_SG - DMA_SLAVE This implementation has been tested on an Altera Cyclone FPGA connected via PCIe, both on an ARM and an x86 platform. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
5771a8c088
commit
a85c6f1b29
3 changed files with 1038 additions and 0 deletions
|
@ -56,6 +56,12 @@ config DMA_OF
|
||||||
select DMA_ENGINE
|
select DMA_ENGINE
|
||||||
|
|
||||||
#devices
|
#devices
|
||||||
|
config ALTERA_MSGDMA
|
||||||
|
tristate "Altera / Intel mSGDMA Engine"
|
||||||
|
select DMA_ENGINE
|
||||||
|
help
|
||||||
|
Enable support for Altera / Intel mSGDMA controller.
|
||||||
|
|
||||||
config AMBA_PL08X
|
config AMBA_PL08X
|
||||||
bool "ARM PrimeCell PL080 or PL081 support"
|
bool "ARM PrimeCell PL080 or PL081 support"
|
||||||
depends on ARM_AMBA
|
depends on ARM_AMBA
|
||||||
|
|
|
@ -12,6 +12,7 @@ obj-$(CONFIG_DMA_OF) += of-dma.o
|
||||||
obj-$(CONFIG_DMATEST) += dmatest.o
|
obj-$(CONFIG_DMATEST) += dmatest.o
|
||||||
|
|
||||||
#devices
|
#devices
|
||||||
|
obj-$(CONFIG_ALTERA_MSGDMA) += altera-msgdma.o
|
||||||
obj-$(CONFIG_AMBA_PL08X) += amba-pl08x.o
|
obj-$(CONFIG_AMBA_PL08X) += amba-pl08x.o
|
||||||
obj-$(CONFIG_AMCC_PPC440SPE_ADMA) += ppc4xx/
|
obj-$(CONFIG_AMCC_PPC440SPE_ADMA) += ppc4xx/
|
||||||
obj-$(CONFIG_AT_HDMAC) += at_hdmac.o
|
obj-$(CONFIG_AT_HDMAC) += at_hdmac.o
|
||||||
|
|
1031
drivers/dma/altera-msgdma.c
Normal file
1031
drivers/dma/altera-msgdma.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue