spi: pxa2xx: Add ready signal
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 13 Nov 2018 10:22:27 +0000 (11:22 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 13 Nov 2018 18:02:09 +0000 (10:02 -0800)
commit77d33897c68d56797a3201e06bdf10e2094a96d6
tree8b762b220b3a3b7d72d2987fc844295dfb06cb98
parent8ae13d0b0d4bb4af99bec8c50152f0c8f5cbcc06
spi: pxa2xx: Add ready signal

Strobe a GPIO line when the slave TX FIFO is filled. This is how the
Embedded Controller on an OLPC XO-1.75 machine, that happens to be a SPI
master, learns that it can initiate a transaction.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Tested-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h