Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sangwook Lee and committed by
Chris Ball
92df954d fa1773cc

+3
+1
arch/arm/plat-samsung/include/plat/sdhci.h
··· 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
+2
arch/arm/plat-samsung/platformdata.c
··· 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 }