Re: [PATCH V2 11/13] dw_dmac: Allow src/dst msize & flow controllerto be configured at runtime

From: viresh kumar
Date: Fri Mar 04 2011 - 04:57:50 EST


On 03/03/2011 03:47 PM, Viresh KUMAR wrote:
> From: Viresh KUMAR <viresh.kumar@xxxxxx>
>
> Msize or Burst Size is peripheral dependent in case of slave_sg transfers, and
> in case of memcpy transfers it is platform dependent. So msize configuration
> must come from platform data.
>
> Also some peripherals (ex: JPEG), need to be flow controller for dma transfers,
> so this information in case of slave_sg transfers must come from platform data.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxx>
> ---
> drivers/dma/dw_dmac.c | 10 ++++++----
> drivers/dma/dw_dmac_regs.h | 1 +
> include/linux/dw_dmac.h | 30 ++++++++++++++++++++++++++++++
> 3 files changed, 37 insertions(+), 4 deletions(-)
>

Sorry, i missed similar changes for dw_dma_cyclic_prep(). Will resend it.

--
viresh
--
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/