]> git.karo-electronics.de Git - linux-beck.git/commit
spi: fsl-espi: add support for ESPI RXSKIP mode
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 9 Nov 2016 21:58:01 +0000 (22:58 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 11 Nov 2016 16:00:00 +0000 (16:00 +0000)
commitaca75157d9beb7b171a178446ecdb4d047b9f934
tree240a396efb0bdf4606d7c0f8d7c84b71cc6e877b
parent8f3086d2a9c1104f42d2d0247ef52b01c6d898d8
spi: fsl-espi: add support for ESPI RXSKIP mode

This patch adds support for ESPI RXSKIP mode. This mode is optimized
for flash reads:
- sends a number of bytes and then reads a number of bytes
- shifts out zeros automatically when reading

Supporting RXSKIP mode is a prerequisite for supporting dual output
read mode.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c
drivers/spi/spi-fsl-lib.h