lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: RFC: usb: musb: Changes proposed for adding CPPI4.1 DMA
Date
Hi Sergei,
> On 01/25/2012 06:22 PM, Gupta, Ajay Kumar wrote:
>
> > As a next step to dma-engine based cppi4.1 driver implementation
> > this RFC has the overview of changes in the musb driver.
> > RFC on CPPI slave driver changes will follow next.
>
> > Overview of changes in the musb driver
> > ======================================
>
> > 1)Add a dma-engine.c file in the drivers/usb/musb folder
> > 2)This file will host the current musb dma APIs and translates them to
> > dmaengine APIs.
> > 3)This will help to keep the changes in drivers/usb/musb/musb* files
> > minimal and also to retain compatibility other DMA (Mentor etc.)
> > drivers which are yet to be moved to drivers/dma
> > 4)drivers/usb/musb/dma-engine.c, will wrap the dmaengine APIs to
> > make existing musb APIs compatible.
> > 5)drivers/usb/musb/dma-engine.c file will implement the filter
> > functions and also implement .dma_controller_create (allocates
> > & provides "dma_controller" object) and .dma_controller_delete
> > 6)CPPI4.1 DMA specific queue and buffer management will be internal
> > to slave CPPI DMA driver implementation.
>
> You mean drivers/dma/ driver?
yes.

> I think you are forgotting that CPPI 4.1 MUSB
> has some registers controlling DMA/interrupts beside those of CPPI 4.1
> controller and MUSB core itself. How do they fit in your scheme?

We have been discussing on how to handle these in slave driver and
would post our proposal in RFC for slave driver design. Do you have
any proposal?

Regards,
Ajay
>
> WBR, Sergei


\
 
 \ /
  Last update: 2012-01-31 05:45    [W:0.074 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site