dmaengine: jz4780: add driver for the Ingenic JZ4780 DMA controller
authorAlex Smith <alex.smith@imgtec.com>
Wed, 18 Mar 2015 16:16:36 +0000 (16:16 +0000)
committerVinod Koul <vinod.koul@intel.com>
Wed, 1 Apr 2015 03:13:49 +0000 (08:43 +0530)
commitd894fc6046fecd66b0d8ec35c7d2515781cc030b
treecb5809e6ace6c1ce30d7a80b73ae5cda8afa10c4
parentc8307106f5fa53b8fe8763b488d629e3cce9fae3
dmaengine: jz4780: add driver for the Ingenic JZ4780 DMA controller

This patch adds a driver for the DMA controller found in the Ingenic
JZ4780.

It currently does not implement any support for the programmable firmware
feature of the controller - this is not necessary for most uses. It also
does not take priority into account when allocating channels, it just
allocates the first available channel. This can be implemented later.

Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
[Updated for dmaengine api changes, Add residue support, couple of minor fixes]
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/Kconfig
drivers/dma/Makefile
drivers/dma/dma-jz4780.c [new file with mode: 0644]
include/dt-bindings/dma/jz4780-dma.h [new file with mode: 0644]