Re: [PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties

From: Eugeniy Paltsev
Date: Wed Nov 02 2016 - 07:57:37 EST


Hi Andy,
Could you possibly tell me your ideas about these changes?
Thanks.

On Fri, 2016-10-28 at 18:59 +0300, Eugeniy Paltsev wrote:
> This series is to address a proposal by Andy in these threads:
> http://www.spinics.net/lists/dmaengine/msg11506.html
> http://www.spinics.net/lists/dmaengine/msg11541.html
> Split platform data to actual hardware properties, and platform
> quirks.
> Now we able to use quirks and hardware properties separately from
> different sources (pdata, device tree or autoconfig registers)
>
> Changes for v3:
> Â-ÂÂÂSplit changes to separate patches.
> Â-ÂÂÂAdd "DW_DMA_IS_LLP_SUPPORTED" flag and get rid of "dwc->nollp"
> ÂÂÂÂÂas separate variable.
> Â-ÂÂÂMake "dw_dma_slave" documentation comments more clear about
> quirks.
> ÂÂÂÂÂ"is_memcpy" and "is_private" are quirks, "is_nollp" is regularÂ
> ÂÂÂÂÂpdata property.
>
> Eugeniy Paltsev (3):
> Â dmaengine: DW DMAC: split pdata to hardware properties and platform
> ÂÂÂÂquirks
> Â dmaengine: DW DMAC: convert to unified device property API
> Â dmaengine: DW DMAC: move "nollp" to "dwc->flags"
>
> Âdrivers/dma/dw/core.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 34 +++++++++++++----------
> Âdrivers/dma/dw/platform.cÂÂÂÂÂÂÂÂÂÂÂÂ| 53 +++++++++++++++++++-------
> ----------
> Âdrivers/dma/dw/regs.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ2 +-
> Âinclude/linux/platform_data/dma-dw.h |ÂÂ5 ++++
> Â4 files changed, 54 insertions(+), 40 deletions(-)
>
--
ÂPaltsev Eugeniy