dmaengine: driver for the ARM PL080/PL081 PrimeCells v5
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 28 Sep 2010 13:57:37 +0000 (15:57 +0200)
committerDan Williams <dan.j.williams@intel.com>
Wed, 29 Sep 2010 23:13:51 +0000 (16:13 -0700)
commite8689e63d4d2046079f2db9d494ac05c6885ac0c
tree29196d65697acc7fd49af9e00f2068413e29b771
parentb30a3f6257ed2105259b404d419b4964e363928c
dmaengine: driver for the ARM PL080/PL081 PrimeCells v5

This creates a DMAengine driver for the ARM PL080/PL081 PrimeCells
based on the implementation earlier submitted by Peter Pearse.
This is working like a charm for memcpy and slave DMA to the PL011
PrimeCell on the PB11MPCore.

This DMA controller is used in mostly unmodified form in the ARM
RealView and Versatile platforms, in the ST-Ericsson Nomadik, and
in the ST SPEAr platform.

It has been converted to use the header from the Samsung PL080
derivate instead of its own defintions. The Samsungs have a custom
driver in their mach-* folders though, atleast we can share the
register definitions.

Cc: Peter Pearse <peter.pearse@arm.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Alessandro Rubini <rubini@unipv.it>
Acked-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
[GFP_KERNEL to GFP_NOWAIT in pl08x_prep_dma_memcpy]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/Kconfig
drivers/dma/Makefile
drivers/dma/amba-pl08x.c [new file with mode: 0644]
include/linux/amba/pl08x.h [new file with mode: 0644]