spi_oc_tiny.h 471 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _LINUX_SPI_SPI_OC_TINY_H
  3. #define _LINUX_SPI_SPI_OC_TINY_H
  4. /**
  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. *
  9. * freq and baudwidth are used only if the divider is programmable.
  10. */
  11. struct tiny_spi_platform_data {
  12. unsigned int freq;
  13. unsigned int baudwidth;
  14. };
  15. #endif /* _LINUX_SPI_SPI_OC_TINY_H */