xref: /openbmc/linux/arch/sh/include/asm/spi.h (revision b2441318)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2f15cbe6fSPaul Mundt #ifndef __ASM_SPI_H__
3f15cbe6fSPaul Mundt #define __ASM_SPI_H__
4f15cbe6fSPaul Mundt 
5f15cbe6fSPaul Mundt struct sh_spi_info;
6f15cbe6fSPaul Mundt 
7f15cbe6fSPaul Mundt struct sh_spi_info {
8f15cbe6fSPaul Mundt 	int			 bus_num;
9f15cbe6fSPaul Mundt 	int			 num_chipselect;
10f15cbe6fSPaul Mundt 
11f15cbe6fSPaul Mundt 	void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
12f15cbe6fSPaul Mundt };
13f15cbe6fSPaul Mundt 
14f15cbe6fSPaul Mundt #endif /* __ASM_SPI_H__ */
15