forked from Minki/linux
9b3452d1fa
This driver is currently used by musb' cppi41 couter part. I may merge both dma engine user of musb at some point but not just yet. The driver seems to work in RX/TX mode in host mode, tested on mass storage. I increaed the size of the TX / RX transfers and waited for the core code to cancel a transfers and it seems to recover. v2..3: - use mall transfers on RX side and check data toggle. - use rndis mode on tx side so we haveon interrupt for 4096 transfers. - remove custom "transferred" hack and use dmaengine_tx_status() to compute the total amount of data that has been transferred. - cancel transfers and reclaim descriptors v1..v2: - RX path added - dma mode 0 & 1 is working - device tree nodes re-created. Cc: Vinod Koul <vinod.koul@intel.com> Cc: Dan Williams <djbw@fb.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
43 lines
1.5 KiB
Makefile
43 lines
1.5 KiB
Makefile
ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG
|
|
ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
|
|
|
|
obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
|
|
obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
|
|
obj-$(CONFIG_DMA_ACPI) += acpi-dma.o
|
|
obj-$(CONFIG_DMA_OF) += of-dma.o
|
|
|
|
obj-$(CONFIG_NET_DMA) += iovlock.o
|
|
obj-$(CONFIG_INTEL_MID_DMAC) += intel_mid_dma.o
|
|
obj-$(CONFIG_DMATEST) += dmatest.o
|
|
obj-$(CONFIG_INTEL_IOATDMA) += ioat/
|
|
obj-$(CONFIG_INTEL_IOP_ADMA) += iop-adma.o
|
|
obj-$(CONFIG_FSL_DMA) += fsldma.o
|
|
obj-$(CONFIG_MPC512X_DMA) += mpc512x_dma.o
|
|
obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
|
|
obj-$(CONFIG_MV_XOR) += mv_xor.o
|
|
obj-$(CONFIG_DW_DMAC_CORE) += dw/
|
|
obj-$(CONFIG_AT_HDMAC) += at_hdmac.o
|
|
obj-$(CONFIG_MX3_IPU) += ipu/
|
|
obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o
|
|
obj-$(CONFIG_SH_DMAE_BASE) += sh/
|
|
obj-$(CONFIG_COH901318) += coh901318.o coh901318_lli.o
|
|
obj-$(CONFIG_AMCC_PPC440SPE_ADMA) += ppc4xx/
|
|
obj-$(CONFIG_IMX_SDMA) += imx-sdma.o
|
|
obj-$(CONFIG_IMX_DMA) += imx-dma.o
|
|
obj-$(CONFIG_MXS_DMA) += mxs-dma.o
|
|
obj-$(CONFIG_TIMB_DMA) += timb_dma.o
|
|
obj-$(CONFIG_SIRF_DMA) += sirf-dma.o
|
|
obj-$(CONFIG_TI_EDMA) += edma.o
|
|
obj-$(CONFIG_STE_DMA40) += ste_dma40.o ste_dma40_ll.o
|
|
obj-$(CONFIG_TEGRA20_APB_DMA) += tegra20-apb-dma.o
|
|
obj-$(CONFIG_PL330_DMA) += pl330.o
|
|
obj-$(CONFIG_PCH_DMA) += pch_dma.o
|
|
obj-$(CONFIG_AMBA_PL08X) += amba-pl08x.o
|
|
obj-$(CONFIG_EP93XX_DMA) += ep93xx_dma.o
|
|
obj-$(CONFIG_DMA_SA11X0) += sa11x0-dma.o
|
|
obj-$(CONFIG_MMP_TDMA) += mmp_tdma.o
|
|
obj-$(CONFIG_DMA_OMAP) += omap-dma.o
|
|
obj-$(CONFIG_MMP_PDMA) += mmp_pdma.o
|
|
obj-$(CONFIG_DMA_JZ4740) += dma-jz4740.o
|
|
obj-$(CONFIG_TI_CPPI41) += cppi41.o
|