Re: [PATCH 3/8] spi: dw-dma: Configure the DMA channels in dma_setup

2020-07-31 Thread Serge Semin
On Fri, Jul 31, 2020 at 12:16:38PM +0300, Andy Shevchenko wrote: > On Fri, Jul 31, 2020 at 10:59:48AM +0300, Serge Semin wrote: > > Mainly this is a preparation patch before adding one-by-one DMA SG entries > > transmission. But logically the Tx and Rx DMA channels setup should be > > performed in

Re: [PATCH 3/8] spi: dw-dma: Configure the DMA channels in dma_setup

2020-07-31 Thread Andy Shevchenko
On Fri, Jul 31, 2020 at 10:59:48AM +0300, Serge Semin wrote: > Mainly this is a preparation patch before adding one-by-one DMA SG entries > transmission. But logically the Tx and Rx DMA channels setup should be > performed in the dma_setup() callback anyway. So let's move the DMA slave > channels

[PATCH 3/8] spi: dw-dma: Configure the DMA channels in dma_setup

2020-07-31 Thread Serge Semin
Mainly this is a preparation patch before adding one-by-one DMA SG entries transmission. But logically the Tx and Rx DMA channels setup should be performed in the dma_setup() callback anyway. So let's move the DMA slave channels src/dst burst lengths, address and address width configuration to the