]> git.baikalelectronics.ru Git - kernel.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)
commitc1e3eb69d1041cf679ded2832a7e3d89fb221168
treea451ce4afb0c68c4a206f35d23cd899131f60a5d
parent1b4ea4f21dd08c373d44f3305f29faf91bb67024
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