blob: 560e266da8a15312a1fa2f375da0729f115a5bf0 [file] [log] [blame]
Tony Lindgren120db2c2006-04-02 17:46:27 +01001#ifndef _OMAP2_MCSPI_H
2#define _OMAP2_MCSPI_H
3
Charulatha V617871d2011-02-17 09:53:09 -08004#define OMAP2_MCSPI_REV 0
5#define OMAP3_MCSPI_REV 1
6#define OMAP4_MCSPI_REV 2
7
Tony Lindgren120db2c2006-04-02 17:46:27 +01008struct omap2_mcspi_platform_config {
Tony Lindgren120db2c2006-04-02 17:46:27 +01009 unsigned short num_cs;
10};
11
Charulatha V617871d2011-02-17 09:53:09 -080012struct omap2_mcspi_dev_attr {
13 unsigned short num_chipselect;
14};
15
Tony Lindgren120db2c2006-04-02 17:46:27 +010016struct omap2_mcspi_device_config {
17 unsigned turbo_mode:1;
18
19 /* Do we want one channel enabled at the same time? */
20 unsigned single_channel:1;
21};
22
23#endif