summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Kunapuli <pkunapuli@nvidia.com>2010-07-29 17:26:24 +0530
committerGary King <gking@nvidia.com>2010-07-29 10:07:15 -0700
commit4de8cf2d4e7f3ab4dcb7eab54ddf55c6021bc6a0 (patch)
tree29762c456e0c275bbd4ae5270ff84805ea039389
parenta91a0fdac15143e19335d837798133ad7dc22045 (diff)
odm:Get AlwaysON prop of SDIO slot from odm query.
Always ON property of SDIO slot is queried from odm. Bug 703457 Change-Id: I207183b598e92306b42eab75b3395564d171a510 Reviewed-on: http://git-master/r/4383 Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
-rwxr-xr-xarch/arm/mach-tegra/board-nvodm.c1
-rw-r--r--arch/arm/mach-tegra/include/mach/sdhci.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-nvodm.c b/arch/arm/mach-tegra/board-nvodm.c
index a29bcd7b2e3a..60c8a36991ba 100755
--- a/arch/arm/mach-tegra/board-nvodm.c
+++ b/arch/arm/mach-tegra/board-nvodm.c
@@ -355,6 +355,7 @@ static void __init tegra_setup_sdhci(void) {
i, &gpio_count);
plat->is_removable = prop->IsCardRemovable;
+ plat->is_always_on = prop->AlwaysON;
if (!gpio)
gpio_count = 0;
switch (gpio_count) {
diff --git a/arch/arm/mach-tegra/include/mach/sdhci.h b/arch/arm/mach-tegra/include/mach/sdhci.h
index d282f0c34a51..bf620dd57a7a 100644
--- a/arch/arm/mach-tegra/include/mach/sdhci.h
+++ b/arch/arm/mach-tegra/include/mach/sdhci.h
@@ -38,6 +38,7 @@ struct tegra_sdhci_platform_data {
int is_removable; /* card can be removed */
unsigned int debounce; /* debounce time in milliseconds */
unsigned long max_clk; /* maximum card clock */
+ int is_always_on; /* card is not powered down in suspend */
#ifdef CONFIG_EMBEDDED_MMC_START_OFFSET
unsigned long offset; /* offset in blocks to MBR */
#endif