Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
[pandora-kernel.git] / arch / arm / plat-pxa / include / plat / sdhci.h
1 /* linux/arch/arm/plat-pxa/include/plat/sdhci.h
2  *
3  * Copyright 2010 Marvell
4  *      Zhangfei Gao <zhangfei.gao@marvell.com>
5  *
6  * PXA Platform - SDHCI platform data definitions
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 __PLAT_PXA_SDHCI_H
14 #define __PLAT_PXA_SDHCI_H
15
16 /* pxa specific flag */
17 /* Require clock free running */
18 #define PXA_FLAG_DISABLE_CLOCK_GATING (1<<0)
19
20 /* Board design supports 8-bit data on SD/SDIO BUS */
21 #define PXA_FLAG_SD_8_BIT_CAPABLE_SLOT (1<<2)
22
23 /*
24  * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI
25  * @max_speed: the maximum speed supported
26  * @quirks: quirks of specific device
27  * @flags: flags for platform requirement
28  */
29 struct sdhci_pxa_platdata {
30         unsigned int    max_speed;
31         unsigned int    quirks;
32         unsigned int    flags;
33 };
34
35 #endif /* __PLAT_PXA_SDHCI_H */