[RFC PATCH 0/1] mmc: dw_mmc: Add runtime pm to dw_mmc

From: Karol Wrona
Date: Wed Jan 21 2015 - 11:44:42 EST


Hello,

This patch adds runtime pm for dwmmc host. Runtime PM is enabled for
dwmmc-exynos. This is RFC because I need some opinion about the host state
detection and handling and is not finished. The runtime pm suspend and resume
callback are empty for now because the main goal of this path is adding mmc
host to the pm runtime what in effect will give an information to the PM core.
As mshc will be added to some power domain. This will help to know mmc host
state by PM and enter Exynos LPD state. LPD is system level power control
mode. In LPD, the supporting it, unused blocks are power and clock gated.

I will also look something to add to runtime callbacks to decrease power
consumption by the dw_mmc host during normal power mode but this is very tight
because clk to the card is gated in some dw_mmc modes (where there is no
communication).

Thanks,
Karol

Karol Wrona (1):
mmc: dw_mmc: Add runtime pm to dw_mmc

drivers/mmc/host/dw_mmc-exynos.c | 69 ++++++++++++++++++++++++++++++++++++--
drivers/mmc/host/dw_mmc.c | 65 +++++++++++++++++++++++++++++++++--
2 files changed, 130 insertions(+), 4 deletions(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/