dmaengine: DW DMAC: add multi-block property to device tree
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Fri, 25 Nov 2016 14:59:07 +0000 (17:59 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 30 Nov 2016 03:27:50 +0000 (08:57 +0530)
commitbd2c6636cc59c4626a04d9918953a107f88eaff9
tree7344ad146e1b6be5f86b5584563195b060cd489f
parent258f2277a93fe0e3cdac275264d275c526170db6
dmaengine: DW DMAC: add multi-block property to device tree

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 block transfers (if present) via DT.

Switch from per device is_nollp variable to multi_block array
to be able enable/disable multi block transfers separately per
channel.

Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/snps-dma.txt
arch/arc/boot/dts/abilis_tb10x.dtsi
arch/arm/boot/dts/spear13xx.dtsi
drivers/dma/dw/core.c
drivers/dma/dw/platform.c
drivers/dma/dw/regs.h
drivers/tty/serial/8250/8250_lpss.c
include/linux/platform_data/dma-dw.h