Skip to content

Commit

Permalink
dmaengine: add BCM2708 DMA support
Browse files Browse the repository at this point in the history
This driver provides only DMA_CYCLIC mode.

Signed-off-by: Florian Meier <[email protected]>
  • Loading branch information
koalo committed Apr 29, 2013
1 parent 6689589 commit b1574ea
Show file tree
Hide file tree
Showing 5 changed files with 730 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-bcm2708/include/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
#define BCM2708_DMA_ADDR 0x04
/* the current control block appears in the following registers - read only */
#define BCM2708_DMA_INFO 0x08
#define BCM2708_DMA_SOURCE_AD 0x0c
#define BCM2708_DMA_DEST_AD 0x10
#define BCM2708_DMA_NEXTCB 0x1C
#define BCM2708_DMA_DEBUG 0x20

Expand Down
6 changes: 6 additions & 0 deletions drivers/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ config DMA_OMAP
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS

config DMA_BCM2708
tristate "BCM2708 DMA engine support"
depends on MACH_BCM2708
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS

config MMP_PDMA
bool "MMP PDMA support"
depends on (ARCH_MMP || ARCH_PXA)
Expand Down
1 change: 1 addition & 0 deletions drivers/dma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ 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_DMA_BCM2708) += bcm2708-dmaengine.o
obj-$(CONFIG_MMP_PDMA) += mmp_pdma.o
Loading

0 comments on commit b1574ea

Please sign in to comment.