1 #ifndef _LINUX_SPI_SPI_OC_TINY_H
2 #define _LINUX_SPI_SPI_OC_TINY_H
5 * struct tiny_spi_platform_data - platform data of the OpenCores tiny SPI
6 * @freq: input clock freq to the core.
7 * @baudwidth: baud rate divider width of the core.
8 * @gpio_cs_count: number of gpio pins used for chipselect.
9 * @gpio_cs: array of gpio pins used for chipselect.
11 * freq and baudwidth are used only if the divider is programmable.
13 struct tiny_spi_platform_data
{
15 unsigned int baudwidth
;
16 unsigned int gpio_cs_count
;
20 #endif /* _LINUX_SPI_SPI_OC_TINY_H */