• Colin Cross's avatar
    [ARM] tegra: Add APB DMA support · 4de3a8fa
    Colin Cross authored
    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: default avatarErik Gilling <konkers@android.com>
    Signed-off-by: default avatarColin Cross <ccross@android.com>
    4de3a8fa
dma.c 19.5 KB