Re: [PATCH 2/5] dmaengine: dw: Activate FIFO-mode for memory peripherals only

2020-07-31 Thread Serge Semin
On Fri, Jul 31, 2020 at 10:22:54PM +0530, Vinod Koul wrote: > On 30-07-20, 20:13, Serge Semin wrote: > > On Thu, Jul 30, 2020 at 07:47:03PM +0300, Andy Shevchenko wrote: > > > On Thu, Jul 30, 2020 at 07:31:54PM +0300, Serge Semin wrote: > > > > On Thu, Jul 30, 2020 at 07:24:28PM +0300, Andy

Re: [PATCH 2/5] dmaengine: dw: Activate FIFO-mode for memory peripherals only

2020-07-31 Thread Vinod Koul
On 30-07-20, 20:13, Serge Semin wrote: > On Thu, Jul 30, 2020 at 07:47:03PM +0300, Andy Shevchenko wrote: > > On Thu, Jul 30, 2020 at 07:31:54PM +0300, Serge Semin wrote: > > > On Thu, Jul 30, 2020 at 07:24:28PM +0300, Andy Shevchenko wrote: > > > > On Thu, Jul 30, 2020 at 06:45:42PM +0300, Serge

Re: [PATCH 2/5] dmaengine: dw: Activate FIFO-mode for memory peripherals only

2020-07-30 Thread Serge Semin
On Thu, Jul 30, 2020 at 07:47:03PM +0300, Andy Shevchenko wrote: > On Thu, Jul 30, 2020 at 07:31:54PM +0300, Serge Semin wrote: > > On Thu, Jul 30, 2020 at 07:24:28PM +0300, Andy Shevchenko wrote: > > > On Thu, Jul 30, 2020 at 06:45:42PM +0300, Serge Semin wrote: > > ... > > > > > Thanks to the

Re: [PATCH 2/5] dmaengine: dw: Activate FIFO-mode for memory peripherals only

2020-07-30 Thread Andy Shevchenko
On Thu, Jul 30, 2020 at 07:31:54PM +0300, Serge Semin wrote: > On Thu, Jul 30, 2020 at 07:24:28PM +0300, Andy Shevchenko wrote: > > On Thu, Jul 30, 2020 at 06:45:42PM +0300, Serge Semin wrote: ... > > > Thanks to the commit ("dmaengine: dw: Initialize channel ... > > > Note the

Re: [PATCH 2/5] dmaengine: dw: Activate FIFO-mode for memory peripherals only

2020-07-30 Thread Serge Semin
On Thu, Jul 30, 2020 at 07:24:28PM +0300, Andy Shevchenko wrote: > On Thu, Jul 30, 2020 at 06:45:42PM +0300, Serge Semin wrote: > > CFGx.FIFO_MODE field controls a DMA-controller "FIFO readiness" criterion. > > In other words it determines when to start pushing data out of a DW > > DMAC channel

Re: [PATCH 2/5] dmaengine: dw: Activate FIFO-mode for memory peripherals only

2020-07-30 Thread Andy Shevchenko
On Thu, Jul 30, 2020 at 06:45:42PM +0300, Serge Semin wrote: > CFGx.FIFO_MODE field controls a DMA-controller "FIFO readiness" criterion. > In other words it determines when to start pushing data out of a DW > DMAC channel FIFO to a destination peripheral or from a source > peripheral to the DW

[PATCH 2/5] dmaengine: dw: Activate FIFO-mode for memory peripherals only

2020-07-30 Thread Serge Semin
CFGx.FIFO_MODE field controls a DMA-controller "FIFO readiness" criterion. In other words it determines when to start pushing data out of a DW DMAC channel FIFO to a destination peripheral or from a source peripheral to the DW DMAC channel FIFO. Currently FIFO-mode is set to one for all DW DMAC