diff options
author | Zhangfei Gao <zhangfei.gao@marvell.com> | 2011-06-20 10:11:52 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-20 17:20:52 -0400 |
commit | bfed345edfe05b291f7e5d396d4b447b6e8e66fa (patch) | |
tree | b0d2c26465b60be1d47bb2b36b7aebd742ea885a /arch/arm/plat-pxa | |
parent | c984c2638501e9bdb23438e61b922e3234959fac (diff) |
mmc: sdhci-pxa: move platform data to include/linux/platform_data
As suggested by Arnd, move platform data to include/linux/platform_data
in order to improve build coverage for the driver.
Signed-off-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
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 | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/arch/arm/plat-pxa/include/plat/sdhci.h b/arch/arm/plat-pxa/include/plat/sdhci.h deleted file mode 100644 index 800ebc149fc1..000000000000 --- a/arch/arm/plat-pxa/include/plat/sdhci.h +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
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_ENABLE_CLOCK_GATING (1<<0) | ||
19 | /* card always wired to host, like on-chip emmc */ | ||
20 | #define PXA_FLAG_CARD_PERMANENT (1<<1) | ||
21 | /* Board design supports 8-bit data on SD/SDIO BUS */ | ||
22 | #define PXA_FLAG_SD_8_BIT_CAPABLE_SLOT (1<<2) | ||
23 | |||
24 | /* | ||
25 | * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI | ||
26 | * @flags: flags for platform requirement | ||
27 | * @clk_delay_cycles: | ||
28 | * mmp2: each step is roughly 100ps, 5bits width | ||
29 | * pxa910: each step is 1ns, 4bits width | ||
30 | * @clk_delay_sel: select clk_delay, used on pxa910 | ||
31 | * 0: choose feedback clk | ||
32 | * 1: choose feedback clk + delay value | ||
33 | * 2: choose internal clk | ||
34 | * @clk_delay_enable: enable clk_delay or not, used on pxa910 | ||
35 | * @ext_cd_gpio: gpio pin used for external CD line | ||
36 | * @ext_cd_gpio_invert: invert values for external CD gpio line | ||
37 | * @max_speed: the maximum speed supported | ||
38 | * @host_caps: Standard MMC host capabilities bit field. | ||
39 | * @quirks: quirks of platfrom | ||
40 | * @pm_caps: pm_caps of platfrom | ||
41 | */ | ||
42 | struct sdhci_pxa_platdata { | ||
43 | unsigned int flags; | ||
44 | unsigned int clk_delay_cycles; | ||
45 | unsigned int clk_delay_sel; | ||
46 | bool clk_delay_enable; | ||
47 | unsigned int ext_cd_gpio; | ||
48 | bool ext_cd_gpio_invert; | ||
49 | unsigned int max_speed; | ||
50 | unsigned int host_caps; | ||
51 | unsigned int quirks; | ||
52 | unsigned int pm_caps; | ||
53 | }; | ||
54 | |||
55 | struct sdhci_pxa { | ||
56 | u8 clk_enable; | ||
57 | u8 power_mode; | ||
58 | }; | ||
59 | |||
60 | #endif /* __PLAT_PXA_SDHCI_H */ | ||