Skip to contentSkip to conversation

mmc: add runtime pm for mmc host stack

PATCH In review Chuanxiao Dong 1 participant 1 message Jan 14, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

cover mmc: add runtime pm for mmc host stack

Hi all,
These are the version 1 patches for enabling runtime power management for mmc host driver stack.

Right now runtime pm in mmc driver stack can only care about the power of SDIO card, not the host controller. Host controller also needs runtime pm to save power.

MMC host can let the host device go into runtime suspended state when there is no user request to deal, and wake up host device when there comes one. MMC driver will manage the power of host controller like this way.

patch1: implemented runtime pm for mmc host
patch2: implemented runtime pm for SDHCI host controller
patch3: Do not let mmc host clock gated when host is in runtime suspended state.

Thanks
Chuanxiao