dmaengine: ste_dma40: Allow memcpy channels to be configured from DT
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:59 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Jun 2013 09:12:11 +0000 (11:12 +0200)
commita7dacb68b35a193d9bdaabde1e4e98140d81a991
tree61229caedb330dba8e97ff64af7c3d0516988702
parent8cc5af1255966ed82117249a64fe8b13edabc8c5
dmaengine: ste_dma40: Allow memcpy channels to be configured from DT

At this moment in time the memcpy channels which can be used by the D40
are fixed, as each supported platform in Mainline uses the same ones.
However, platforms do exist which don't follow this convention, so
these will need to be tailored. Fortunately, these platforms will be DT
only, so this change has very little impact on platform data.

Cc: Dan Williams <djbw@fb.com>
Cc: Per Forlin <per.forlin@stericsson.com>
Cc: Rabin Vincent <rabin@rab.in>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-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
drivers/dma/ste_dma40.c
include/linux/platform_data/dma-ste-dma40.h