dmaengine: nbpfaxi: add optional max-burst property for memory reads/writes
authorNiklas Cassel <niklas.cassel@axis.com>
Mon, 24 Oct 2016 13:29:15 +0000 (15:29 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 14 Nov 2016 04:37:58 +0000 (10:07 +0530)
commit9a1a34f3c8612864f18a71febc134957a03eca64
treeb82b878bd24482bd17d2fcbc45c1eaffbaf5d674
parent3ed16793e0e77ee9934611ac574468d1c984c3d8
dmaengine: nbpfaxi: add optional max-burst property for memory reads/writes

Due to a hardware bug, reading memory (from the Accelerator Coherency Port)
with a burst size equal to the maximum burst size allowed by the DMA
hardware's buffer size will cause a hardware hang on the ARTPEC-6 SoC,
where the only solution is a manual power cycle.
On ARTPEC-6, this hardware bug does not trigger when writing memory (to the
Accelerator Coherency Port) with a burst size equal to the maximum burst
size allowed by the DMA hardware's buffer size.

To avoid this hardware hang, introduce a new optional max-burst property
for memory reads. For completeness, also introduce a max-burst property for
memory writes.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/nbpfaxi.txt
drivers/dma/nbpfaxi.c