Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
ce792580 TC |
2 | #ifndef _LINUX_SPI_SPI_OC_TINY_H |
3 | #define _LINUX_SPI_SPI_OC_TINY_H | |
4 | ||
5 | /** | |
6 | * struct tiny_spi_platform_data - platform data of the OpenCores tiny SPI | |
7 | * @freq: input clock freq to the core. | |
8 | * @baudwidth: baud rate divider width of the core. | |
ce792580 TC |
9 | * |
10 | * freq and baudwidth are used only if the divider is programmable. | |
11 | */ | |
12 | struct tiny_spi_platform_data { | |
13 | unsigned int freq; | |
14 | unsigned int baudwidth; | |
ce792580 TC |
15 | }; |
16 | ||
17 | #endif /* _LINUX_SPI_SPI_OC_TINY_H */ |