spi: rspi: supports 32bytes buffer for DUAL and QUAD
authorHiep Cao Minh <cm-hiep@jinso.co.jp>
Fri, 4 Nov 2016 08:38:54 +0000 (17:38 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2016 17:06:33 +0000 (11:06 -0600)
commit3be09bec42a800d4f8ead8119c462f3eb4fad435
treedbfccfeffabe41e7ce2df9cde0666d819d1bbf98
parent1001354ca34179f3db924eb66672442a173147dc
spi: rspi: supports 32bytes buffer for DUAL and QUAD

This patch supports 32bytes of buffer for DUAL and QUAD in QSPI by
Using Transmit/Receive Buffer Data Triggering Number.
In order to improve the DUAL and QUAD's performance of SPI
while transferring data in PIO mode, it sends/receives each 32bytes
data instead of each byte data as current situation.

Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rspi.c