diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2010-02-15 19:03:34 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 19:03:34 +0100 |
commit | ce6f00165d5314698afd04ee20cede156cfcc593 (patch) | |
tree | d7df468cf7143cdb99917b5de25a923c4abc2807 /arch/arm/mach-omap2/hsmmc.h | |
parent | omap: Reconnect hsmmc context loss count (diff) | |
download | linux-ce6f00165d5314698afd04ee20cede156cfcc593.tar.xz linux-ce6f00165d5314698afd04ee20cede156cfcc593.zip |
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.h | 2 |
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 { char *name; /* or NULL for default */ struct device *dev; /* returned: pointer to mmc adapter */ int ocr_mask; /* temporary HACK */ + /* Remux (pad configuation) when powering on/off */ + void (*remux)(struct device *dev, int slot, int power_on); }; #if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE) |