diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-11-13 13:22:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-13 21:01:42 +0300 |
commit | ec93cb6f827b3e1a81b0721b8c893d2a5e37e7d6 (patch) | |
tree | 23b9a714ceca2578cd4ce88a2803a49dbf757082 /include/linux/spi | |
parent | 810923f3bf06c11022b7bb370dd3130a956a222e (diff) | |
download | linux-ec93cb6f827b3e1a81b0721b8c893d2a5e37e7d6.tar.xz |
spi: pxa2xx: Add slave mode support
Tested on an OLPC XO-1.75 machine, where the Embedded Controller happens
to be a SPI master.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/pxa2xx_spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h index 9ec4c147abbc..b0674e330ef6 100644 --- a/include/linux/spi/pxa2xx_spi.h +++ b/include/linux/spi/pxa2xx_spi.h @@ -25,6 +25,7 @@ struct dma_chan; struct pxa2xx_spi_master { u16 num_chipselect; u8 enable_dma; + bool is_slave; /* DMA engine specific config */ bool (*dma_filter)(struct dma_chan *chan, void *param); |