dmaengine: ste_dma40: Fetch the number of physical channels from DT
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:52:01 +0000 (10:52 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Jun 2013 09:12:12 +0000 (11:12 +0200)
commitfd59f9e6abf2ebf0098c616e1742168db4360d13
tree1ba336a7af369ab8263a7beb3c9869631fd11076
parent0117f7c7a3e8cdf72bea7d463b142db35e9c9cdc
dmaengine: ste_dma40: Fetch the number of physical channels from DT

Some platforms insist on obscure physical channel availability. This
information is currently passed though platform data in internal BSP
kernels. Once those platforms land, they'll need to configure them
appropriately, so we may as well add the infrastructure.

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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/dma/ste_dma40.c