Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-12 Thread Peter Ujfalusi
On 12/10/2020 9.09, Vinod Koul wrote: > On 09-10-20, 14:29, Peter Ujfalusi wrote: >> >> >> On 09/10/2020 14.15, Vinod Koul wrote: > If for any any reason subsequent txn is for different direction, I would > expect that parameters are set again before prep_ calls But in DEV_TO_D

Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-11 Thread Vinod Koul
On 09-10-20, 14:29, Peter Ujfalusi wrote: > > > On 09/10/2020 14.15, Vinod Koul wrote: > >>> If for any any reason subsequent txn is for different direction, I would > >>> expect that parameters are set again before prep_ calls > >> > >> But in DEV_TO_DEV? > > > > Do we support that :D > > > >>

Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-09 Thread Peter Ujfalusi
On 09/10/2020 14.15, Vinod Koul wrote: >>> If for any any reason subsequent txn is for different direction, I would >>> expect that parameters are set again before prep_ calls >> >> But in DEV_TO_DEV? > > Do we support that :D > >> If we have two peripherals, both needs config: >> p1_config an

Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-09 Thread Vinod Koul
On 09-10-20, 13:45, Peter Ujfalusi wrote: > Hi Vinod, > > On 09/10/2020 13.30, Vinod Koul wrote: > > Hi Peter, > > > > On 09-10-20, 12:04, Peter Ujfalusi wrote: > >> On 08/10/2020 15.31, Vinod Koul wrote: > >>> Some complex dmaengine controllers have capability to program the > >>> peripheral dev

Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-09 Thread Peter Ujfalusi
Hi Vinod, On 09/10/2020 13.30, Vinod Koul wrote: > Hi Peter, > > On 09-10-20, 12:04, Peter Ujfalusi wrote: >> On 08/10/2020 15.31, Vinod Koul wrote: >>> Some complex dmaengine controllers have capability to program the >>> peripheral device, so pass on the peripheral configuration as part of >>>

Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-09 Thread Vinod Koul
Hi Peter, On 09-10-20, 12:04, Peter Ujfalusi wrote: > On 08/10/2020 15.31, Vinod Koul wrote: > > Some complex dmaengine controllers have capability to program the > > peripheral device, so pass on the peripheral configuration as part of > > dma_slave_config > > > > Signed-off-by: Vinod Koul > > -

Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-09 Thread Peter Ujfalusi
On 08/10/2020 15.31, Vinod Koul wrote: > Some complex dmaengine controllers have capability to program the > peripheral device, so pass on the peripheral configuration as part of > dma_slave_config > > Signed-off-by: Vinod Koul > --- > include/linux/dmaengine.h | 5 + > 1 file changed, 5 i

[PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-08 Thread Vinod Koul
Some complex dmaengine controllers have capability to program the peripheral device, so pass on the peripheral configuration as part of dma_slave_config Signed-off-by: Vinod Koul --- include/linux/dmaengine.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/dmaengine.h b/in