blob: 1ab332e37d7d578336a6d5979b6ea7f7e05ddb20 [file] [log] [blame]
Zhangfei Gao536ac992010-09-20 10:51:28 -04001/* 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
Philip Rakity15ec4462010-11-19 16:48:39 -050020/* Board design supports 8-bit data on SD/SDIO BUS */
21#define PXA_FLAG_SD_8_BIT_CAPABLE_SLOT (1<<2)
22
Zhangfei Gao536ac992010-09-20 10:51:28 -040023/*
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 */
29struct sdhci_pxa_platdata {
30 unsigned int max_speed;
31 unsigned int quirks;
32 unsigned int flags;
33};
34
35#endif /* __PLAT_PXA_SDHCI_H */