lkml.org 
[lkml]   [2015]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/1] mmc: dw_mmc: Add runtime pm to dw_mmc
Date
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



\
 
 \ /
  Last update: 2015-01-21 18:01    [W:2.180 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site