mcspi.h 392 B

123456789101112131415161718192021222324
  1. #ifndef _OMAP2_MCSPI_H
  2. #define _OMAP2_MCSPI_H
  3. #define OMAP2_MCSPI_REV 0
  4. #define OMAP3_MCSPI_REV 1
  5. #define OMAP4_MCSPI_REV 2
  6. #define OMAP4_MCSPI_REG_OFFSET 0x100
  7. struct omap2_mcspi_platform_config {
  8. unsigned short num_cs;
  9. unsigned int regs_offset;
  10. };
  11. struct omap2_mcspi_dev_attr {
  12. unsigned short num_chipselect;
  13. };
  14. struct omap2_mcspi_device_config {
  15. unsigned turbo_mode:1;
  16. };
  17. #endif