]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
011f23a3 MW |
2 | #ifndef __ASM_MACH_EP93XX_SPI_H |
3 | #define __ASM_MACH_EP93XX_SPI_H | |
4 | ||
5 | struct spi_device; | |
6 | ||
7 | /** | |
8 | * struct ep93xx_spi_info - EP93xx specific SPI descriptor | |
55f0cd3f HS |
9 | * @chipselect: array of gpio numbers to use as chip selects |
10 | * @num_chipselect: ARRAY_SIZE(chipselect) | |
626a96db | 11 | * @use_dma: use DMA for the transfers |
011f23a3 MW |
12 | */ |
13 | struct ep93xx_spi_info { | |
55f0cd3f | 14 | int *chipselect; |
011f23a3 | 15 | int num_chipselect; |
626a96db | 16 | bool use_dma; |
011f23a3 MW |
17 | }; |
18 | ||
011f23a3 | 19 | #endif /* __ASM_MACH_EP93XX_SPI_H */ |