OSDN Git Service

dma: mxs-dma: move to generic device tree binding
authorShawn Guo <shawn.guo@linaro.org>
Tue, 26 Feb 2013 01:42:09 +0000 (09:42 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 Apr 2013 13:22:43 +0000 (21:22 +0800)
commitd84f638b037fcd132ecf6f09f5b8ccf82278b9ee
treeb515de0f0bcabd60c36e04cb54b056eb2187600a
parentaaa20517c0880d021c4839eb172e8cfc03c43e21
dma: mxs-dma: move to generic device tree binding

Update mxs-dma driver to adopt generic DMA device tree binding.  It
calls of_dma_controller_register() with mxs specific of_dma_xlate to
get the generic DMA device tree helper support.  Then DMA clients only
need to call dma_request_slave_channel() for requesting a DMA channel
from dmaengine.

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

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
drivers/dma/mxs-dma.c