linux-uconsole/include/linux/mmc
Ulf Hansson 10d03026fe mmc: block: Enable runtime pm for mmc blkdevice
Once the mmc blkdevice is being probed, runtime pm will be enabled.
By using runtime autosuspend, the power save operations can be done
when request inactivity occurs for a certain time. Right now the
selected timeout value is set to 3 s. Obviously this value will likely
need to be configurable somehow since it needs to be trimmed depending
on the power save algorithm.

For SD-combo cards, we are still leaving the enablement of runtime PM
to the SDIO init sequence since it depends on the capabilities of the
SDIO func driver.

Moreover, when the blk device is being suspended, we make sure the device
will be runtime resumed. The reason for doing this is that we want the
host suspend sequence to be unaware of any runtime power save operations
done for the card in this phase. Thus it can just handle the suspend as
the card is fully powered from a runtime perspective.

Finally, this patch prepares to make it possible to move BKOPS handling
into the runtime callbacks for the mmc bus_ops. Thus IDLE BKOPS can be
accomplished.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

Conflicts:
	drivers/mmc/card/block.c
2014-03-07 19:49:54 +08:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: sdio: add a quirk for broken SDIO_CCCR_INTx polling 2014-03-07 19:39:01 +08:00
core.h mmc: block: Enable runtime pm for mmc blkdevice 2014-03-07 19:49:54 +08:00
dw_mmc.h SDMMC-emmc:add the capability to support hs200 mode 2014-03-04 17:47:47 +08:00
host.h mmc: core: Add MMC_CAP_RUNTIME_RESUME to resume at runtime_resume 2014-03-07 19:35:27 +08:00
mmc.h SDMMC: add the sdmmc driver to kernel_3.10 2014-02-22 16:03:46 +08:00
pm.h mmc: Add "ignore mmc pm notify" functionality 2013-07-01 13:40:24 -07:00
rk_mmc.h SDMMC-emmc:add the capability to support hs200 mode 2014-03-04 17:47:47 +08:00
sd.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci-pci-data.h mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-spear.h Viresh has moved 2012-06-20 14:39:36 -07:00
sdhci.h mmc: sdhci: enhance preset value function 2013-02-24 14:37:11 -05:00
sdio.h mmc: sdio: fix setting card data bus width as 4-bit 2012-06-06 09:22:53 -04:00
sdio_func.h trout: Add functions for WiFi 2013-07-01 13:40:22 -07:00
sdio_ids.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sh_mmcif.h Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-07-24 17:12:54 -07:00
sh_mobile_sdhi.h mmc: sh_mobile_sdhi: remove unused .pdata field 2013-02-24 14:37:22 -05:00
slot-gpio.h mmc: slot-gpio: Add debouncing capability to mmc_gpio_request_cd() 2014-03-07 14:12:09 +08:00
tmio.h mmc: sdhi: Add write16_hook 2011-07-20 17:20:57 -04:00