]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf43f7d2a451ecf3ddcd54d6f3877d4ad485b68a3
tree955a73509a5745ee4e7a71fa42f10c0c57632aa5
parente52c692bde90d25331174cef0a8ac23a36d25b70
[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]