spi: spi-ti-qspi: Add DMA support for QSPI mmap read
authorVignesh R <vigneshr@ti.com>
Wed, 17 Aug 2016 09:52:37 +0000 (15:22 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 17 Aug 2016 11:24:28 +0000 (12:24 +0100)
commit5720ec0a6d2605930934f3f154b048e8be3d8a40
treeb1f3ac74bd8391060ddc2cfd599fd68e252484b3
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
spi: spi-ti-qspi: Add DMA support for QSPI mmap read

Use mem-to-mem DMA to read from flash when reading in mmap mode. This
gives improved read performance and reduces CPU load.

With this patch the raw-read throughput is ~16MB/s on DRA74 EVM. And CPU
load is <20%. UBIFS read throughput ~13 MB/s.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ti-qspi.c