public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] mmc: dw_mmc: Add runtime pm to dw_mmc
@ 2015-01-21 16:43 Karol Wrona
  2015-01-21 16:43 ` [RFC PATCH 1/1] " Karol Wrona
  0 siblings, 1 reply; 4+ messages in thread
From: Karol Wrona @ 2015-01-21 16:43 UTC (permalink / raw)
  To: Seungwon Jeon, Jaehoon Chung, linux-mmc, linux-kernel,
	Ulf Hansson
  Cc: Bartlomiej Zolnierkiewicz, Kyungmin Park, Karol Wrona,
	Karol Wrona

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-29  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 16:43 [RFC PATCH 0/1] mmc: dw_mmc: Add runtime pm to dw_mmc Karol Wrona
2015-01-21 16:43 ` [RFC PATCH 1/1] " Karol Wrona
2015-01-22  9:02   ` Ulf Hansson
2015-01-29  8:58     ` Karol Wrona

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox