blob: 352d33860b6383a6584011edb5239b23b3ebcd1b [file] [log] [blame]
Ben Dooks7fba5342006-05-20 15:00:18 -07001/* linux/include/asm-arm/arch-s3c2410/spi.h
2 *
3 * Copyright (c) 2006 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 *
6 * S3C2410 - SPI Controller platform_device info
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/
12
13#ifndef __ASM_ARCH_SPI_H
14#define __ASM_ARCH_SPI_H __FILE__
15
Ben Dooks7fba5342006-05-20 15:00:18 -070016struct s3c2410_spi_info {
17 unsigned long pin_cs; /* simple gpio cs */
Ben Dooksd1e77802008-04-15 14:34:46 -070018 unsigned int num_cs; /* total chipselects */
Ben Dooks7fba5342006-05-20 15:00:18 -070019
Ben Dooks7fba5342006-05-20 15:00:18 -070020 void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol);
21};
22
23
24#endif /* __ASM_ARCH_SPI_H */