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
..
Kconfig
Makefile mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions 2012-07-10 23:04:04 -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
debugfs.c
host.c mmc: prohibit card detection when host is not ready 2012-07-21 00:02:21 -04:00
host.h
mmc.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
mmc_ops.c mmc: core: Fix the HPI execution sequence 2012-07-10 23:04:04 -04:00
mmc_ops.h
quirks.c
sd.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
sd.h
sd_ops.c
sd_ops.h
sdio.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
sdio_bus.c
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
sdio_irq.c mmc: sdio: avoid spurious calls to interrupt handlers 2012-04-22 11:17:28 -04:00
sdio_ops.c
sdio_ops.h
slot-gpio.c mmc: core: add WP pin handler to slot functions 2012-07-21 00:02:18 -04:00