linux/drivers/mmc/core
Aaron Lu 108ecc4cf9 mmc: core: reset signal voltage on power up
Add a call to mmc_set_signal_voltage() to set signal voltage to 3.3v in
mmc_power_up so that we do not need to touch signal voltage setting in
mmc/sd/sdio init functions and rescan function.

For mmc/sd cards, when doing a suspend/resume cycle, consider the unsafe
resume case, the card will lose its power and when powered on again, we
will set signal voltage to 3.3v in mmc_power_up before its resume function
gets called, which will re-init the card.

And for sdio cards, when doing a suspend/resume cycle, consider the unsafe
resume case, the card will either lose its power or not depending on if it
wants to wakeup the host. If power is not maintained, it is the same case as
mmc/sd cards. If power is maintained, mmc_power_up will not be called and
the card's signal voltage will remain at the last setting.

Signed-off-by: Aaron Lu <aaron.lu@amd.com>
Tested-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-07-22 15:25:53 -04:00
..
bus.c mmc: core: check PM_SLEEP for mmc_bus_suspend/resume callbacks 2012-04-23 08:11:28 -04:00
bus.h
core.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
core.h Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
debugfs.c mmc: core: HS200 mode support for eMMC 4.5 2012-01-12 15:17:15 -05:00
host.c mmc: prohibit card detection when host is not ready 2012-07-21 00:02:21 -04:00
host.h mmc: start removing enable / disable API 2012-03-27 12:20:03 -04:00
Kconfig
Makefile mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions 2012-07-10 23:04:04 -04:00
mmc_ops.c mmc: core: Fix the HPI execution sequence 2012-07-10 23:04:04 -04:00
mmc_ops.h
mmc.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
quirks.c
sd_ops.c
sd_ops.h
sd.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
sd.h
sdio_bus.c mmc: sdio: Use empty system suspend/resume callbacks at the bus level 2012-04-05 20:32:26 -04:00
sdio_bus.h
sdio_cis.c mmc: sdio: Change pr_warning to pr_warn_ratelimited 2012-07-22 15:25:48 -04:00
sdio_cis.h
sdio_io.c mmc: sdio: Fix to support any block size optimally 2012-01-11 23:58:40 -05:00
sdio_irq.c mmc: sdio: avoid spurious calls to interrupt handlers 2012-04-22 11:17:28 -04:00
sdio_ops.c mmc: sdio: Fix to support any block size optimally 2012-01-11 23:58:40 -05:00
sdio_ops.h
sdio.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
slot-gpio.c mmc: core: add WP pin handler to slot functions 2012-07-21 00:02:18 -04:00