diff options
author | Mark Brown <broonie@kernel.org> | 2018-12-20 11:01:28 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-20 11:01:28 -0500 |
commit | b3fc4e0e966eaaf2f8afa1de3280770acd838b87 (patch) | |
tree | efa455a809e81a404010db0fa7b2886f1a324af9 /include/linux/spi | |
parent | 2d54911644e4d5ea1ba01500d3a46dabc3b1e75a (diff) | |
parent | 916d9802e4b0723c1e4650e58e04c0259c14b85c (diff) |
Merge branch 'spi-4.21' into spi-next
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/pxa2xx_spi.h | 1 | ||||
-rw-r--r-- | include/linux/spi/spi.h | 5 |
2 files changed, 5 insertions, 1 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; | |||
25 | struct pxa2xx_spi_master { | 25 | struct pxa2xx_spi_master { |
26 | u16 num_chipselect; | 26 | u16 num_chipselect; |
27 | u8 enable_dma; | 27 | u8 enable_dma; |
28 | bool is_slave; | ||
28 | 29 | ||
29 | /* DMA engine specific config */ | 30 | /* DMA engine specific config */ |
30 | bool (*dma_filter)(struct dma_chan *chan, void *param); | 31 | bool (*dma_filter)(struct dma_chan *chan, void *param); |
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 6be77fa5ab90..314d922ca607 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h | |||
@@ -154,7 +154,10 @@ struct spi_device { | |||
154 | #define SPI_TX_QUAD 0x200 /* transmit with 4 wires */ | 154 | #define SPI_TX_QUAD 0x200 /* transmit with 4 wires */ |
155 | #define SPI_RX_DUAL 0x400 /* receive with 2 wires */ | 155 | #define SPI_RX_DUAL 0x400 /* receive with 2 wires */ |
156 | #define SPI_RX_QUAD 0x800 /* receive with 4 wires */ | 156 | #define SPI_RX_QUAD 0x800 /* receive with 4 wires */ |
157 | #define SPI_CS_WORD 0x1000 /* toggle cs after each word */ | 157 | #define SPI_CS_WORD 0x1000 /* toggle cs after each word */ |
158 | #define SPI_TX_OCTAL 0x2000 /* transmit with 8 wires */ | ||
159 | #define SPI_RX_OCTAL 0x4000 /* receive with 8 wires */ | ||
160 | #define SPI_3WIRE_HIZ 0x8000 /* high impedance turnaround */ | ||
158 | int irq; | 161 | int irq; |
159 | void *controller_state; | 162 | void *controller_state; |
160 | void *controller_data; | 163 | void *controller_data; |