[PATCH 4/4] DMA: PL330: add device tree property for DMA_MEMCPY capability

Jassi Brar jassisinghbrar at gmail.com
Mon Oct 29 17:45:48 EDT 2012


On Mon, Oct 29, 2012 at 10:59 AM, Bartlomiej Zolnierkiewicz
<b.zolnierkie at samsung.com> wrote:
> * Add device tree (DT) property ("pl330,dma-memcpy") for DMA_MEMCPY
>   capability and instead of setting this capability unconditionally
>   in pl330_probe() do it only when property is present.
>
Perhaps we should pass the array of peripheral interfaces via DT, the
lack of which could imply MEMCPY capability ? (while it works, I doubt
if pl330 is supposed to have SLAVE and MEMCPY capabilities in any
instance)
That would also be a step towards discarding "struct dma_pl330_platdata".



More information about the linux-arm-kernel mailing list