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>
This commit is contained in:
committed by
Linus Torvalds
parent
dd498effcf
commit
9b7c18e070
@ -95,6 +95,8 @@ struct omap_mmc_platform_data {
|
||||
int (* set_bus_mode)(struct device *dev, int slot, int bus_mode);
|
||||
int (* set_power)(struct device *dev, int slot, int power_on, int vdd);
|
||||
int (* get_ro)(struct device *dev, int slot);
|
||||
int (*set_sleep)(struct device *dev, int slot, int sleep,
|
||||
int vdd, int cardsleep);
|
||||
|
||||
/* return MMC cover switch state, can be NULL if not supported.
|
||||
*
|
||||
|
Reference in New Issue
Block a user