dmaengine: sirf: enable generic dt binding for dma channels
authorBarry Song <Baohua.Song@csr.com>
Thu, 27 Mar 2014 07:49:31 +0000 (15:49 +0800)
committerVinod Koul <vinod.koul@intel.com>
Sat, 29 Mar 2014 13:50:13 +0000 (19:20 +0530)
commit2e041c94628c2f0b8b704dc092802ddeaa70c6e9
tree5dce0f4735a928382b5e47be8d84c6ffe80b03f8
parent80b0e0abfbcf9897ee263a79bc4cbdcfeca72431
dmaengine: sirf: enable generic dt binding for dma channels

move to support of_dma_request_slave_channel() and dma_request_slave_channel.
we add a xlate() to let dma clients be able to find right dma_chan by generic
"dmas" properties in dts.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/sirfsoc-dma.txt [new file with mode: 0644]
arch/arm/boot/dts/atlas6.dtsi
arch/arm/boot/dts/prima2.dtsi
drivers/dma/sirf-dma.c