diff options
author | Zhangfei Gao <zhangfei.gao@marvell.com> | 2010-09-20 10:51:28 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-24 21:29:07 -0400 |
commit | 536ac998f6076a0ae423b1046b85d7690e8b7107 (patch) | |
tree | 865881c030dcf65ec5436c4eb0f928b040b1e570 /arch/arm/plat-pxa | |
parent | 5e71b7a64cb4c6cff75ca42b535d8227526ec592 (diff) |
mmc: add new sdhci-pxa driver for Marvell SoCs
Support Marvell PXA168/PXA910/MMP2 SD Host Controller.
Signed-off-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/arm/plat-pxa')
-rw-r--r-- | arch/arm/plat-pxa/include/plat/sdhci.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/plat-pxa/include/plat/sdhci.h b/arch/arm/plat-pxa/include/plat/sdhci.h new file mode 100644 index 000000000000..e49c5b6fc4e2 --- /dev/null +++ b/arch/arm/plat-pxa/include/plat/sdhci.h | |||
@@ -0,0 +1,32 @@ | |||
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 | /* | ||
21 | * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI | ||
22 | * @max_speed: the maximum speed supported | ||
23 | * @quirks: quirks of specific device | ||
24 | * @flags: flags for platform requirement | ||
25 | */ | ||
26 | struct sdhci_pxa_platdata { | ||
27 | unsigned int max_speed; | ||
28 | unsigned int quirks; | ||
29 | unsigned int flags; | ||
30 | }; | ||
31 | |||
32 | #endif /* __PLAT_PXA_SDHCI_H */ | ||