DMA: PL330: add PL330 DMA controller driver
PATCH 3/3 DMA: PL330: add PL330 DMA controller driver
The PL330 is the dma controller for the S5PC1XX arm SoC. This supports DMA_MEMCPY and DMA_SLAVE.
The datasheet for the PL330 can find below url:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0424a/DDI0424A_dmac_pl330_r0p0_trm.pdf
Signed-off-by Joonyoung Shim <[email protected]>
--- drivers/dma/Kconfig | 7 + drivers/dma/Makefile | 1 + drivers/dma/pl330_dmac.c | 994 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/dma/pl330_dmac.h | 175 ++++++++ 4 files changed, 1177 insertions(+), 0 deletions(-) create mode 100644 drivers/dma/pl330_dmac.c create mode 100644 drivers/dma/pl330_dmac.h
drivers/dma/Kconfig +7 -0
@@ -97,6 +97,13 @@ config TXX9_DMAC Support the TXx9 SoC internal DMA controller. This can be integrated in chips such as the Toshiba TX4927/38/39. +config PL330_DMAC + bool "PrimeCell DMA Controller(PL330) support" + depends on ARCH_S5PC1XX + select DMA_ENGINE + help + Enable support for the PrimeCell DMA Controller(PL330) support. + config DMA_ENGINE bool
drivers/dma/Makefile +1 -0
@@ -10,3 +10,4 @@ obj-$(CONFIG_DW_DMAC) += dw_dmac.o obj-$(CONFIG_AT_HDMAC) += at_hdmac.o obj-$(CONFIG_MX3_IPU) += ipu/ obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o +obj-$(CONFIG_PL330_DMAC) += pl330_dmac.o
drivers/dma/pl330_dmac.c new file +994 -0
994 lines not on this page · raw message
drivers/dma/pl330_dmac.h new file +175 -0
175 lines not on this page · raw message
Signature · 1 line
1.6.0.4