[PATCH V2 11/13] dw_dmac: Allow src/dst msize & flow controller to be configured at runtime
viresh.kumar at st.com
Fri Mar 4 04:57:26 EST 2011
On 03/03/2011 03:47 PM, Viresh KUMAR wrote:
> From: Viresh KUMAR <viresh.kumar at st.com>
> 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 at st.com>
> 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.
More information about the linux-arm-kernel