dmaengine: ste_dma40: Supply full Device Tree parsing support
authorLee Jones <lee.jones@linaro.org>
Fri, 3 May 2013 14:32:12 +0000 (15:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:13:08 +0000 (21:13 +0200)
commitfa332de5c6b3891485798adfe3252125457e5377
treedf2585098fc3aa7e43144244db4309c4a7a4bfa8
parent1814a1703ce2d6d4b88b5f62a52b137afebad990
dmaengine: ste_dma40: Supply full Device Tree parsing support

Using the new DMA DT bindings and API, we can register the DMA40 driver
as Device Tree capable. Now, when a client attempts to allocate a
channel using the DMA DT bindings via its own node, we are able to parse
the request and allocate a channel in the correct manner.

Cc: Dan Williams <djbw@fb.com>
Cc: Per Forlin <per.forlin@stericsson.com>
Cc: Rabin Vincent <rabin@rab.in>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: devicetree-discuss@lists.ozlabs.org
Acked-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/dma/ste-dma40.txt [new file with mode: 0644]
drivers/dma/ste_dma40.c