[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>
Fri, 22 Oct 2010 01:12:35 +0000 (18:12 -0700)
commit4de3a8fa334851e642d4889d6afa6e5d3daea10a
tree955a73509a5745ee4e7a71fa42f10c0c57632aa5
parent7056d423f16103f6700569f60ca842d91bfaabab
[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]