Re: [PATCH v3 07/21] ARM: dts: parse DMA config in pxamci

From: Sergei Ianovich
Date: Wed Dec 18 2013 - 19:50:49 EST


Daniel,

On Tue, 2013-12-17 at 23:37 +0400, Sergei Ianovich wrote:
> The existing PXA MMC driver cannot get DMA channels in a proper
> way from the respective device tree binding.
>
> This patch provides temporary workaround which allows using the
> existing driver in DT machines by pointing to the proper
> dmaengine-based "marvell,pdma-1.0" DMA.
>
> Even though the new DMA provider is not present we can parse device node
> attributes manually and use channel numbers to acquire DMA channel
> from the existing non-dmaengine provider.
>
> When Daniel's DMA series is merged there will be no need to manually
> parse for "dmas" and this patch can be safely reverted.
>
> Signed-off-by: Sergei Ianovich <ynvich@xxxxxxxxx>
> CC: Daniel Mack <zonque@xxxxxxxxx>
> CC: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> v2..v3
> * split into good (PATCH 07/21) and temporary (this one) parts
>
> v1..v2
> * add binding for next-gen dma controller
> * use correct dma declararion
> * number changed from 5 to 3

Could you please comment on this solution for PXA DMA?

There may appear new, but it remains the last open review comment for
the series at the moment.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/