s3c24xx.h 518 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2006 Simtec Electronics
  4. * Ben Dooks <[email protected]>
  5. *
  6. * S3C2410 - SPI Controller platform_device info
  7. */
  8. #ifndef __LINUX_SPI_S3C24XX_H
  9. #define __LINUX_SPI_S3C24XX_H __FILE__
  10. struct s3c2410_spi_info {
  11. unsigned int num_cs; /* total chipselects */
  12. int bus_num; /* bus number to use. */
  13. unsigned int use_fiq:1; /* use fiq */
  14. };
  15. extern int s3c24xx_set_fiq(unsigned int irq, u32 *ack_ptr, bool on);
  16. #endif /* __LINUX_SPI_S3C24XX_H */