Skip to content

Commit

Permalink
dmaengine: add Qualcomm BAM dma driver
Browse files Browse the repository at this point in the history
Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller
found in the MSM 8x74 platforms.

Each BAM DMA device is associated with a specific on-chip peripheral.  Each
channel provides a uni-directional data transfer engine that is capable of
transferring data between the peripheral and system memory (System mode), or
between two peripherals (BAM2BAM).

The initial release of this driver only supports slave transfers between
peripherals and system memory.

Signed-off-by: Andy Gross <[email protected]>
Tested-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Andy Gross authored and Vinod Koul committed Apr 5, 2014
1 parent cca946e commit e7c0fe2
Showing 3 changed files with 1,122 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/dma/Kconfig
Original file line number Diff line number Diff line change
@@ -400,4 +400,13 @@ config DMATEST
config DMA_ENGINE_RAID
bool

config QCOM_BAM_DMA
tristate "QCOM BAM DMA support"
depends on ARCH_QCOM || (COMPILE_TEST && OF && ARM)
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
---help---
Enable support for the QCOM BAM DMA controller. This controller
provides DMA capabilities for a variety of on-chip devices.

endif
2 changes: 2 additions & 0 deletions drivers/dma/Makefile
Original file line number Diff line number Diff line change
@@ -44,3 +44,5 @@ obj-$(CONFIG_DMA_JZ4740) += dma-jz4740.o
obj-$(CONFIG_TI_CPPI41) += cppi41.o
obj-$(CONFIG_K3_DMA) += k3dma.o
obj-$(CONFIG_MOXART_DMA) += moxart-dma.o
obj-$(CONFIG_FSL_EDMA) += fsl-edma.o
obj-$(CONFIG_QCOM_BAM_DMA) += qcom_bam_dma.o
1,111 changes: 1,111 additions & 0 deletions drivers/dma/qcom_bam_dma.c

Large diffs are not rendered by default.

0 comments on commit e7c0fe2

Please sign in to comment.