diff options
author | Sangwook Lee <sangwook.lee@samsung.com> | 2011-12-07 22:49:29 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-01-11 23:58:43 -0500 |
commit | 92df954df3422a7dcf99eea34cf4cb68bb06ea08 (patch) | |
tree | 1497e67e187bcb82f52c634c575a827f55b64111 | |
parent | fa1773cc5b78faa1ef0ab1ab0f48bce7bc72cec5 (diff) | |
download | blackbird-op-linux-92df954df3422a7dcf99eea34cf4cb68bb06ea08.tar.gz blackbird-op-linux-92df954df3422a7dcf99eea34cf4cb68bb06ea08.zip |
ARM: SAMSUNG: Add pm_caps into platform data
Add pm_caps into platform_data. This is power management, usually
for SDIO device such as SDIO WLAN.
Signed-off-by: Sangwook Lee <sangwook.lee@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | arch/arm/plat-samsung/include/plat/sdhci.h | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/platformdata.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/sdhci.h b/arch/arm/plat-samsung/include/plat/sdhci.h index e7b3c752e919..6e999436dad8 100644 --- a/arch/arm/plat-samsung/include/plat/sdhci.h +++ b/arch/arm/plat-samsung/include/plat/sdhci.h @@ -63,6 +63,7 @@ enum clk_types { struct s3c_sdhci_platdata { unsigned int max_width; unsigned int host_caps; + unsigned int pm_caps; enum cd_types cd_type; enum clk_types clk_type; diff --git a/arch/arm/plat-samsung/platformdata.c b/arch/arm/plat-samsung/platformdata.c index ceb9fa3a80c0..0f707184eae0 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, set->cfg_gpio = pd->cfg_gpio; if (pd->host_caps) set->host_caps |= pd->host_caps; + if (pd->pm_caps) + set->pm_caps |= pd->pm_caps; if (pd->clk_type) set->clk_type = pd->clk_type; } |