[ARM] tegra: Add APB DMA support
authorColin Cross <ccross@android.com>
Mon, 5 Apr 2010 20:16:42 +0000 (13:16 -0700)
committerColin Cross <ccross@android.com>
Thu, 30 Sep 2010 00:45:09 +0000 (17:45 -0700)
commitb4d068d28157be46733e3f4613f3ee666c8d267b
treeb3573bc30b0f57ba115a903bb5967ebaf7ee4c5a
parentea6e497698bee8873c0d87d5152807d983e63771
[ARM] tegra: Add APB DMA support

The APB DMA block handles DMA transfers to and from some peripherals
in the Tegra SOC.  It reads from sequential addresses on the memory
bus, and writes repeatedly to the same address on the APB bus.

Two transfer modes are supported, oneshot for transferring a known
size to or from a peripheral, and continuous for streaming data.
In continuous mode, a callback occurs when the buffer is half full
to allow the existing data to be handled and a new request queued.x

v2 changes:
dma API no longer uses PTR_ERR

Signed-off-by: Erik Gilling <konkers@android.com>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/dma.c [new file with mode: 0644]
arch/arm/mach-tegra/include/mach/dma.h [new file with mode: 0644]