summaryrefslogblamecommitdiff
path: root/include/linux/platform_data/spi-ep93xx.h
blob: eb16c6739ac2aadd91dd22193bc786b1a9cd2bdd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                      






                                                          

                                                            
                                      

                        
                            
                               
                        

  
                                    
/* 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
 * @chipselect: array of gpio numbers to use as chip selects
 * @num_chipselect: ARRAY_SIZE(chipselect)
 * @use_dma: use DMA for the transfers
 */
struct ep93xx_spi_info {
	int	*chipselect;
	int	num_chipselect;
	bool	use_dma;
};

#endif /* __ASM_MACH_EP93XX_SPI_H */