]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 12 Jun 2013 09:21:09 +0000 (14:51 +0530)
commit7b80f26b689dff31a6d7d8b47c904b4ac4a66637
tree0e4e7bc1f25fa4a82d8ad155e999be0e7312cf7b
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
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