diff options
author | Olof Johansson <olof@lixom.net> | 2012-03-13 19:20:12 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-03-13 19:20:12 -0400 |
commit | f3d88244dbaf0ba5e4c719f6d5c1a263e85e6bd6 (patch) | |
tree | 25d034a3afd0aba5f4d96531be6faf217afa9886 /arch/arm/plat-samsung | |
parent | 04cc7bc61c666eb090b51dc5d058b209d01d03be (diff) | |
parent | f5cca86448af2d6af67808bfbde7dc1ed170f469 (diff) |
Merge branch 'next/devel-samsung-mmc' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/drivers
* 'next/devel-samsung-mmc' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: SAMSUNG: change the name from s3c-sdhci to exynos4-sdhci
mmc: sdhci-s3c: add platform data for the second capability
ARM: SAMSUNG: support the second capability for samsung-soc
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/sdhci.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/platformdata.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/sdhci.h b/arch/arm/plat-samsung/include/plat/sdhci.h index f82f888b91a9..317e246ffc56 100644 --- a/arch/arm/plat-samsung/include/plat/sdhci.h +++ b/arch/arm/plat-samsung/include/plat/sdhci.h | |||
@@ -40,6 +40,7 @@ enum clk_types { | |||
40 | * struct s3c_sdhci_platdata() - Platform device data for Samsung SDHCI | 40 | * struct s3c_sdhci_platdata() - Platform device data for Samsung SDHCI |
41 | * @max_width: The maximum number of data bits supported. | 41 | * @max_width: The maximum number of data bits supported. |
42 | * @host_caps: Standard MMC host capabilities bit field. | 42 | * @host_caps: Standard MMC host capabilities bit field. |
43 | * @host_caps2: The second standard MMC host capabilities bit field. | ||
43 | * @cd_type: Type of Card Detection method (see cd_types enum above) | 44 | * @cd_type: Type of Card Detection method (see cd_types enum above) |
44 | * @clk_type: Type of clock divider method (see clk_types enum above) | 45 | * @clk_type: Type of clock divider method (see clk_types enum above) |
45 | * @ext_cd_init: Initialize external card detect subsystem. Called on | 46 | * @ext_cd_init: Initialize external card detect subsystem. Called on |
@@ -63,6 +64,7 @@ enum clk_types { | |||
63 | struct s3c_sdhci_platdata { | 64 | struct s3c_sdhci_platdata { |
64 | unsigned int max_width; | 65 | unsigned int max_width; |
65 | unsigned int host_caps; | 66 | unsigned int host_caps; |
67 | unsigned int host_caps2; | ||
66 | unsigned int pm_caps; | 68 | unsigned int pm_caps; |
67 | enum cd_types cd_type; | 69 | enum cd_types cd_type; |
68 | enum clk_types clk_type; | 70 | enum clk_types clk_type; |
diff --git a/arch/arm/plat-samsung/platformdata.c b/arch/arm/plat-samsung/platformdata.c index 0f707184eae0..fa78aa710ed1 100644 --- a/arch/arm/plat-samsung/platformdata.c +++ b/arch/arm/plat-samsung/platformdata.c | |||
@@ -53,6 +53,8 @@ void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd, | |||
53 | set->cfg_gpio = pd->cfg_gpio; | 53 | set->cfg_gpio = pd->cfg_gpio; |
54 | if (pd->host_caps) | 54 | if (pd->host_caps) |
55 | set->host_caps |= pd->host_caps; | 55 | set->host_caps |= pd->host_caps; |
56 | if (pd->host_caps2) | ||
57 | set->host_caps2 |= pd->host_caps2; | ||
56 | if (pd->pm_caps) | 58 | if (pd->pm_caps) |
57 | set->pm_caps |= pd->pm_caps; | 59 | set->pm_caps |= pd->pm_caps; |
58 | if (pd->clk_type) | 60 | if (pd->clk_type) |