On 23-07-19, 11:24, Sameer Pujar wrote: > > On 7/19/2019 10:34 AM, Vinod Koul wrote: > > On 05-07-19, 11:45, Sameer Pujar wrote: > > > Hi Vinod, > > > > > > What are your final thoughts regarding this? > > Hi sameer, > > > > Sorry for the delay in replying > > > > On this, I am inclined to think that dma driver should not be involved. > > The ADMAIF needs this configuration and we should take the path of > > dma_router for this piece and add features like this to it > > Hi Vinod, > > The configuration is needed by both ADMA and ADMAIF. The size is > configurable > on ADMAIF side. ADMA needs to know this info and program accordingly. Well I would say client decides the settings for both DMA, DMAIF and sets the peripheral accordingly as well, so client communicates the two sets of info to two set of drivers > Not sure if dma_router can help to achieve this. > > I checked on dma_router. It would have been useful when a configuration > exported > via ADMA, had to be applied to ADMAIF. Please correct me if I am wrong here. router was added for such a senario, if you feel that it doesn't serve your purpose, feel free to send up update for it, if that is the case. Thanks -- ~Vinod