Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _LINUX_SPI_SPI_OC_TINY_H
0003 #define _LINUX_SPI_SPI_OC_TINY_H
0004 
0005 /**
0006  * struct tiny_spi_platform_data - platform data of the OpenCores tiny SPI
0007  * @freq:   input clock freq to the core.
0008  * @baudwidth:  baud rate divider width of the core.
0009  *
0010  * freq and baudwidth are used only if the divider is programmable.
0011  */
0012 struct tiny_spi_platform_data {
0013     unsigned int freq;
0014     unsigned int baudwidth;
0015 };
0016 
0017 #endif /* _LINUX_SPI_SPI_OC_TINY_H */