Re: [PATCH v5 2/2] DW DMAC: add multi-block property to device tree

2016-11-24 Thread Andy Shevchenko
On Thu, 2016-11-24 at 17:52 +0200, Andy Shevchenko wrote: > On Thu, 2016-11-24 at 18:04 +0300, Eugeniy Paltsev wrote: > > Several versions of DW DMAC have multi block transfers hardware > > support. Hardware support of multi block transfers is disabled > > by default if we use DT to configure DMAC

Re: [PATCH v5 2/2] DW DMAC: add multi-block property to device tree

2016-11-24 Thread Andy Shevchenko
On Thu, 2016-11-24 at 18:04 +0300, Eugeniy Paltsev wrote: > Several versions of DW DMAC have multi block transfers hardware > support. Hardware support of multi block transfers is disabled > by default if we use DT to configure DMAC and software emulation > of multi block transfers used instead. >

[PATCH v5 1/2] DW DMAC: enable memory-to-memory transfers support

2016-11-24 Thread Eugeniy Paltsev
All known devices, which use DT for configuration, support memory-to-memory transfers. So enable it by default, if we read configuration from DT. Acked-by: Andy Shevchenko Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/platform.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/driv

[PATCH v5 2/2] DW DMAC: add multi-block property to device tree

2016-11-24 Thread Eugeniy Paltsev
Several versions of DW DMAC have multi block transfers hardware support. Hardware support of multi block transfers is disabled by default if we use DT to configure DMAC and software emulation of multi block transfers used instead. Add multi-block property, so it is possible to enable hardware multi

[PATCH v5 0/2] DW DMAC: update device tree

2016-11-24 Thread Eugeniy Paltsev
It wasn't possible to enable some features like memory-to-memory transfers or multi block transfers via DT. It is fixed by these patches. Changes for v5: * Update existing DTS. Pointed by Andy Shevchenko. * Read multi-block per chanel instead of per master (Move DW_DMA_MAX_NR_CHANNELS defin