Commit 92df954d authored by Sangwook Lee's avatar Sangwook Lee Committed by Chris Ball

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: default avatarSangwook Lee <sangwook.lee@samsung.com>
Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent fa1773cc
...@@ -63,6 +63,7 @@ enum clk_types { ...@@ -63,6 +63,7 @@ enum clk_types {
struct s3c_sdhci_platdata { struct s3c_sdhci_platdata {
unsigned int max_width; unsigned int max_width;
unsigned int host_caps; unsigned int host_caps;
unsigned int pm_caps;
enum cd_types cd_type; enum cd_types cd_type;
enum clk_types clk_type; enum clk_types clk_type;
......
...@@ -53,6 +53,8 @@ void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd, ...@@ -53,6 +53,8 @@ void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd,
set->cfg_gpio = pd->cfg_gpio; set->cfg_gpio = pd->cfg_gpio;
if (pd->host_caps) if (pd->host_caps)
set->host_caps |= pd->host_caps; set->host_caps |= pd->host_caps;
if (pd->pm_caps)
set->pm_caps |= pd->pm_caps;
if (pd->clk_type) if (pd->clk_type)
set->clk_type = pd->clk_type; set->clk_type = pd->clk_type;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment