mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
1dfbf334f1
This converts the EP93xx SPI master driver to use GPIO descriptors for chip select handling. EP93xx was using platform data to pass in GPIO lines, by converting all board files to use GPIO descriptor tables the core will look up the GPIO lines from the SPI device in the same manner as for device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
16 lines
311 B
C
16 lines
311 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __ASM_MACH_EP93XX_SPI_H
|
|
#define __ASM_MACH_EP93XX_SPI_H
|
|
|
|
struct spi_device;
|
|
|
|
/**
|
|
* struct ep93xx_spi_info - EP93xx specific SPI descriptor
|
|
* @use_dma: use DMA for the transfers
|
|
*/
|
|
struct ep93xx_spi_info {
|
|
bool use_dma;
|
|
};
|
|
|
|
#endif /* __ASM_MACH_EP93XX_SPI_H */
|