Blame view

include/linux/spi/s3c24xx.h 816 Bytes
f35ef7cab   Heiko Stuebner   ARM: S3C24XX: mov...
1
  /*
7fba53402   Ben Dooks   [PATCH] S3C24XX: ...
2
3
4
5
6
7
8
9
10
   * Copyright (c) 2006 Simtec Electronics
   *	Ben Dooks <ben@simtec.co.uk>
   *
   * S3C2410 - SPI Controller platform_device info
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 as
   * published by the Free Software Foundation.
  */
f35ef7cab   Heiko Stuebner   ARM: S3C24XX: mov...
11
12
  #ifndef __LINUX_SPI_S3C24XX_H
  #define __LINUX_SPI_S3C24XX_H __FILE__
7fba53402   Ben Dooks   [PATCH] S3C24XX: ...
13

7fba53402   Ben Dooks   [PATCH] S3C24XX: ...
14
  struct s3c2410_spi_info {
ee9c1fbfe   Ben Dooks   spi: use generic ...
15
  	int			 pin_cs;	/* simple gpio cs */
d1e778063   Ben Dooks   spi: spi_s3c24xx ...
16
  	unsigned int		 num_cs;	/* total chipselects */
cb1d0a7a5   Ben Dooks   spi_s3c24xx: real...
17
  	int			 bus_num;       /* bus number to use. */
7fba53402   Ben Dooks   [PATCH] S3C24XX: ...
18

bec0806cf   Ben Dooks   spi_s3c24xx: add ...
19
  	unsigned int		 use_fiq:1;	/* use fiq */
cf46b973f   Ben Dooks   spi_s3c24xx: pin ...
20
  	void (*gpio_setup)(struct s3c2410_spi_info *spi, int enable);
7fba53402   Ben Dooks   [PATCH] S3C24XX: ...
21
22
  	void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol);
  };
85a901244   Sachin Kamat   spi: s3c24xx: Rem...
23
  extern int s3c24xx_set_fiq(unsigned int irq, bool on);
f35ef7cab   Heiko Stuebner   ARM: S3C24XX: mov...
24
  #endif /* __LINUX_SPI_S3C24XX_H */