summaryrefslogblamecommitdiff
path: root/arch/arm/plat-omap/include/plat/mcspi.h
blob: 560e266da8a15312a1fa2f375da0729f115a5bf0 (plain) (tree)
1
2
3
4
5
6
7
8


                      



                         
                                    


                               



                                      







                                                              
#ifndef _OMAP2_MCSPI_H
#define _OMAP2_MCSPI_H

#define OMAP2_MCSPI_REV 0
#define OMAP3_MCSPI_REV 1
#define OMAP4_MCSPI_REV 2

struct omap2_mcspi_platform_config {
	unsigned short	num_cs;
};

struct omap2_mcspi_dev_attr {
	unsigned short num_chipselect;
};

struct omap2_mcspi_device_config {
	unsigned turbo_mode:1;

	/* Do we want one channel enabled at the same time? */
	unsigned single_channel:1;
};

#endif