Commit 92df954df3422a7dcf99eea34cf4cb68bb06ea08

Authored by Sangwook Lee
Committed by Chris Ball
1 parent fa1773cc5b

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>

Showing 2 changed files with 3 additions and 0 deletions Side-by-side Diff

arch/arm/plat-samsung/include/plat/sdhci.h
... ... @@ -63,6 +63,7 @@
63 63 struct s3c_sdhci_platdata {
64 64 unsigned int max_width;
65 65 unsigned int host_caps;
  66 + unsigned int pm_caps;
66 67 enum cd_types cd_type;
67 68 enum clk_types clk_type;
68 69  
arch/arm/plat-samsung/platformdata.c
... ... @@ -53,6 +53,8 @@
53 53 set->cfg_gpio = pd->cfg_gpio;
54 54 if (pd->host_caps)
55 55 set->host_caps |= pd->host_caps;
  56 + if (pd->pm_caps)
  57 + set->pm_caps |= pd->pm_caps;
56 58 if (pd->clk_type)
57 59 set->clk_type = pd->clk_type;
58 60 }