diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-11-13 11:22:27 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-13 10:02:09 -0800 |
commit | 77d33897c68d56797a3201e06bdf10e2094a96d6 (patch) | |
tree | 8b762b220b3a3b7d72d2987fc844295dfb06cb98 /drivers/spi/spi-pxa2xx.h | |
parent | 8ae13d0b0d4bb4af99bec8c50152f0c8f5cbcc06 (diff) | |
download | linux-77d33897c68d56797a3201e06bdf10e2094a96d6.tar.bz2 |
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>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
-rw-r--r-- | drivers/spi/spi-pxa2xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index 513c53aaeab2..4e324da66ef7 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h @@ -64,6 +64,9 @@ struct driver_data { /* GPIOs for chip selects */ struct gpio_desc **cs_gpiods; + + /* Optional slave FIFO ready signal */ + struct gpio_desc *gpiod_ready; }; struct chip_data { |