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>
This commit is contained in:

committed by
Vinod Koul

parent
258f2277a9
commit
bd2c6636cc
@@ -118,6 +118,7 @@
|
||||
block_size = <0xfff>;
|
||||
dma-masters = <2>;
|
||||
data-width = <8 8>;
|
||||
multi-block = <1 1 1 1 1 1 1 1>;
|
||||
};
|
||||
|
||||
dma@eb000000 {
|
||||
@@ -134,6 +135,7 @@
|
||||
chan_priority = <1>;
|
||||
block_size = <0xfff>;
|
||||
data-width = <8 8>;
|
||||
multi-block = <1 1 1 1 1 1 1 1>;
|
||||
};
|
||||
|
||||
fsmc: flash@b0000000 {
|
||||
|
Reference in New Issue
Block a user