spi-fsl-dspi.h 560 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Freescale DSPI controller driver
  4. *
  5. * Copyright (c) 2017 Angelo Dureghello <[email protected]>
  6. */
  7. #ifndef SPI_FSL_DSPI_HEADER_H
  8. #define SPI_FSL_DSPI_HEADER_H
  9. /**
  10. * struct fsl_dspi_platform_data - platform data for the Freescale DSPI driver
  11. * @bus_num: board specific identifier for this DSPI driver.
  12. * @cs_num: number of chip selects supported by this DSPI driver.
  13. */
  14. struct fsl_dspi_platform_data {
  15. u32 cs_num;
  16. u32 bus_num;
  17. u32 sck_cs_delay;
  18. u32 cs_sck_delay;
  19. };
  20. #endif /* SPI_FSL_DSPI_HEADER_H */