diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2009-09-22 19:44:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:35 -0400 |
commit | 9b7c18e070d59ba0acfdb936fd613dfa1d2a4e7d (patch) | |
tree | bb816920c3fdafd27ee59b4e1256843d136c8c8d /arch/arm/plat-omap | |
parent | dd498effcfa6a196ba097adae3c5aa641115df88 (diff) |
ARM: OMAP: mmc-twl4030: add regulator sleep / wake function
Add the ability for the driver to put the card power regulators to sleep
and wake them up again.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Matt Fleming <matt@console-pimps.org>
Cc: Ian Molton <ian@mnementh.co.uk>
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Philip Langdale <philipl@overt.org>
Cc: "Madhusudhan" <madhu.cr@ti.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/mach/mmc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/mach/mmc.h b/arch/arm/plat-omap/include/mach/mmc.h index 82f1e29f5e53..939029742758 100644 --- a/arch/arm/plat-omap/include/mach/mmc.h +++ b/arch/arm/plat-omap/include/mach/mmc.h | |||
@@ -95,6 +95,8 @@ struct omap_mmc_platform_data { | |||
95 | int (* set_bus_mode)(struct device *dev, int slot, int bus_mode); | 95 | int (* set_bus_mode)(struct device *dev, int slot, int bus_mode); |
96 | int (* set_power)(struct device *dev, int slot, int power_on, int vdd); | 96 | int (* set_power)(struct device *dev, int slot, int power_on, int vdd); |
97 | int (* get_ro)(struct device *dev, int slot); | 97 | int (* get_ro)(struct device *dev, int slot); |
98 | int (*set_sleep)(struct device *dev, int slot, int sleep, | ||
99 | int vdd, int cardsleep); | ||
98 | 100 | ||
99 | /* return MMC cover switch state, can be NULL if not supported. | 101 | /* return MMC cover switch state, can be NULL if not supported. |
100 | * | 102 | * |