Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / arm / plat-omap / include / plat / mcspi.h
blob3d51b18131cc0416656b6a66e39ab0b3b76e7f90
1 #ifndef _OMAP2_MCSPI_H
2 #define _OMAP2_MCSPI_H
4 #define OMAP2_MCSPI_REV 0
5 #define OMAP3_MCSPI_REV 1
6 #define OMAP4_MCSPI_REV 2
8 #define OMAP4_MCSPI_REG_OFFSET 0x100
10 struct omap2_mcspi_platform_config {
11 unsigned short num_cs;
12 unsigned int regs_offset;
15 struct omap2_mcspi_dev_attr {
16 unsigned short num_chipselect;
19 struct omap2_mcspi_device_config {
20 unsigned turbo_mode:1;
22 /* Do we want one channel enabled at the same time? */
23 unsigned single_channel:1;
26 #endif