2010-05-06 11:47:04 +07:00
|
|
|
#ifndef __ASM_MACH_EP93XX_SPI_H
|
|
|
|
#define __ASM_MACH_EP93XX_SPI_H
|
|
|
|
|
|
|
|
struct spi_device;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* struct ep93xx_spi_info - EP93xx specific SPI descriptor
|
2017-02-17 03:07:37 +07:00
|
|
|
* @chipselect: array of gpio numbers to use as chip selects
|
|
|
|
* @num_chipselect: ARRAY_SIZE(chipselect)
|
2011-05-29 17:10:06 +07:00
|
|
|
* @use_dma: use DMA for the transfers
|
2010-05-06 11:47:04 +07:00
|
|
|
*/
|
|
|
|
struct ep93xx_spi_info {
|
2017-02-17 03:07:37 +07:00
|
|
|
int *chipselect;
|
2010-05-06 11:47:04 +07:00
|
|
|
int num_chipselect;
|
2011-05-29 17:10:06 +07:00
|
|
|
bool use_dma;
|
2010-05-06 11:47:04 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __ASM_MACH_EP93XX_SPI_H */
|