[PATCHv4 0/3] OMAP: HSMMC: cleanup and runtime pm

Balaji T K
2011-07-01T16:39:33Z

Removing the custom state machine - lazy disable framework in omap_hsmmc
to make way for runtime pm to handle host controller
power states.
This allows mmc_host_enable/mmc_host_disable to be replaced by
runtime get_sync and put_sync at host controller driver.

Enable runtime PM in omap_hsmmc

Rebased to MMC tree : mmc-next branch
Tested on OMAP4430SDP, OMAP3430SDP, OMAP2430SDP

MMC runtime patch has dependency on
[PATCH 0/6] OMAP2+: hwmod framework fixes [1]
for MMC1/MMC2 clock to get ungated after idle in OMAP4.

Without [1] patches, MMC1/MMC2 fails to get detected on OMAP4.

[1] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg51457.html

Balaji T K (3):
MMC: OMAP: HSMMC: Remove lazy_disable
MMC: OMAP: HSMMC: add runtime pm support
MMC: OMAP: HSMMC: Remove unused iclk

drivers/mmc/host/omap_hsmmc.c | 365 +++++++----------------------------------
1 files changed, 57 insertions(+), 308 deletions(-)