aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/hsmmc.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2010-02-15 13:03:34 -0500
committerTony Lindgren <tony@atomide.com>2010-02-15 13:03:34 -0500
commitce6f00165d5314698afd04ee20cede156cfcc593 (patch)
treed7df468cf7143cdb99917b5de25a923c4abc2807 /arch/arm/mach-omap2/hsmmc.h
parente3df0fb4132fff8717cb0c08403c12138fd3ae39 (diff)
omap: RX51: Remux to pull eMMC lines down when powering off
It has been discovered that, when eMMC is powered off, current will flow from OMAP eMMC data pull-ups to the eMMC voltage supply. Configuring pads for OMAP off-mode does not help because eMMC is powered off independently of OMAP off-mode. Hence the pads are now re-configured when eMMC is powered on or off. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.h')
-rw-r--r--arch/arm/mach-omap2/hsmmc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.h b/arch/arm/mach-omap2/hsmmc.h
index e946b5f79be1..f641f592ffad 100644
--- a/arch/arm/mach-omap2/hsmmc.h
+++ b/arch/arm/mach-omap2/hsmmc.h
@@ -19,6 +19,8 @@ struct omap2_hsmmc_info {
19 char *name; /* or NULL for default */ 19 char *name; /* or NULL for default */
20 struct device *dev; /* returned: pointer to mmc adapter */ 20 struct device *dev; /* returned: pointer to mmc adapter */
21 int ocr_mask; /* temporary HACK */ 21 int ocr_mask; /* temporary HACK */
22 /* Remux (pad configuation) when powering on/off */
23 void (*remux)(struct device *dev, int slot, int power_on);
22}; 24};
23 25
24#if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE) 26#if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE)