summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/mmc.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2010-02-15 18:03:34 (GMT)
committerTony Lindgren <tony@atomide.com>2010-02-15 18:03:34 (GMT)
commit1df58db8a25ec7656005f1dd161a9ede044551b7 (patch)
tree33d94939a62ccec8c51753a015833d165d7bdd2b /arch/arm/plat-omap/include/plat/mmc.h
parentce6f00165d5314698afd04ee20cede156cfcc593 (diff)
downloadlinux-fsl-qoriq-1df58db8a25ec7656005f1dd161a9ede044551b7.tar.xz
omap_hsmmc: Allow for power saving without going off
An eMMC may be always powered on, so that the lowest power saving state possible is sleeping. Add a field to the platform data to indicate that. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/mmc.h')
-rw-r--r--arch/arm/plat-omap/include/plat/mmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h
index 8b23d32..b463949 100644
--- a/arch/arm/plat-omap/include/plat/mmc.h
+++ b/arch/arm/plat-omap/include/plat/mmc.h
@@ -96,6 +96,9 @@ struct omap_mmc_platform_data {
/* Try to sleep or power off when possible */
unsigned power_saving:1;
+ /* If using power_saving and the MMC power is not to go off */
+ unsigned no_off:1;
+
int switch_pin; /* gpio (card detect) */
int gpio_wp; /* gpio (write protect) */