diff options
author | Zhangfei Gao <zhangfei.gao@marvell.com> | 2010-09-20 10:51:28 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-25 09:29:07 +0800 |
commit | 536ac998f6076a0ae423b1046b85d7690e8b7107 (patch) | |
tree | 865881c030dcf65ec5436c4eb0f928b040b1e570 /arch/arm/plat-pxa | |
parent | 5e71b7a64cb4c6cff75ca42b535d8227526ec592 (diff) | |
download | op-kernel-dev-536ac998f6076a0ae423b1046b85d7690e8b7107.zip op-kernel-dev-536ac998f6076a0ae423b1046b85d7690e8b7107.tar.gz |
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 0000000..e49c5b6 --- /dev/null +++ b/arch/arm/plat-pxa/include/plat/sdhci.h @@ -0,0 +1,32 @@ +/* linux/arch/arm/plat-pxa/include/plat/sdhci.h + * + * Copyright 2010 Marvell + * Zhangfei Gao <zhangfei.gao@marvell.com> + * + * PXA Platform - SDHCI platform data definitions + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __PLAT_PXA_SDHCI_H +#define __PLAT_PXA_SDHCI_H + +/* pxa specific flag */ +/* Require clock free running */ +#define PXA_FLAG_DISABLE_CLOCK_GATING (1<<0) + +/* + * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI + * @max_speed: the maximum speed supported + * @quirks: quirks of specific device + * @flags: flags for platform requirement + */ +struct sdhci_pxa_platdata { + unsigned int max_speed; + unsigned int quirks; + unsigned int flags; +}; + +#endif /* __PLAT_PXA_SDHCI_H */ |