Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * au1550_spi.h - Au1550 PSC SPI controller driver - platform data structure
0004  */
0005 
0006 #ifndef _AU1550_SPI_H_
0007 #define _AU1550_SPI_H_
0008 
0009 struct au1550_spi_info {
0010     u32 mainclk_hz;     /* main input clock frequency of PSC */
0011     u16 num_chipselect; /* number of chipselects supported */
0012     void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
0013     void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
0014 };
0015 
0016 #endif