]> rtime.felk.cvut.cz Git - linux-imx.git/commit
dma: imx-sdma: move to generic device tree bindings
authorShawn Guo <shawn.guo@linaro.org>
Thu, 30 May 2013 14:23:32 +0000 (22:23 +0800)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:40 +0000 (11:40 +0530)
commit9479e17c9bb455c01b369d294e01de8fa9b0a8d3
treea451ce4afb0c68c4a206f35d23cd899131f60a5d
parentadd93b578edda2a952b9b481ce8da2a9dc412cee
dma: imx-sdma: move to generic device tree bindings

Update imx-sdma driver to adopt generic DMA device tree bindings.  It
calls of_dma_controller_register() with imx-sdma specific of_dma_xlate
to get the generic DMA device tree helper support.  The #dma-cells for
imx-sdma must be 3, which includes request ID, peripheral type and
priority.

The existing way of requesting channel, clients directly call
dma_request_channel(), still work there, and will be removed after
all imx-sdma clients get converted to generic DMA device tree helper.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt
drivers/dma/imx-sdma.c