>From cac07f43de68615cca9f01f619870fdce05df2a2 Mon Sep 17 00:00:00 2001
From: Yunpeng Gao
Date: Sun, 28 Nov 2010 13:00:42 +0800
Subject: [PATCH] Do some changes in mmc core layer to enable mmc card runtime
pm.
Seems current runtime PM support in mmc core layer has some problems:
1. If host con
>From fab85166c387c5f590ab2d85ab73af52c684a6a5 Mon Sep 17 00:00:00 2001
From: Yunpeng Gao
Date: Sun, 28 Nov 2010 08:27:46 +0800
Subject: [PATCH] Enable runtime pm support of sdhci host controller with pci
interface.
Follow the kernel runtime pm framework, enable runtime pm support
of the sdhci
>From 51e4d34f19b48552a10a9f6b69f51c5aeed18d03 Mon Sep 17 00:00:00 2001
From: Yunpeng Gao
Date: Sun, 28 Nov 2010 08:01:01 +0800
Subject: [PATCH] Enable runtime pm support for block driver of mmc stack.
Follow the kernel runtime pm framework, this patch enable
runtime pm support for block driver
Hi,
These patches are to enable the runtime PM support for mmc storage cards.
Currently, there's already runtime PM support in the mmc core layer. But
for the mmc storage card (SD card, mmc card, eMMC device and so on) to
work with runtime PM, it also needs both block driver and h
Initial SDIO runtime PM implementation took a conservative approach
of powering up cards (and fully reinitializing them) on system suspend,
just before the suspend handlers of the relevant drivers were executed.
To avoid redundant power and reinitialization cycles, this patch removes
this behavior
mmc_rescan checks whether registered cards are still present before
skipping them, by calling the bus-specific ->detect() handler.
With buses that support runtime PM, the card may be powered off at
this point, so they need to be powered on and fully reinitialized before
->detect() executes.
This
Upon system resume, SDIO core must reinitialize cards that were
powered off during suspend.
If the card had its power kept during suspend (and thus it
is 'powered-resumed'), SDIO core performs only a limited reinitializing,
mainly needed to make sure that the card wasn't removed/replaced.
If a __
Remove redundant power and card reinitialization cycles involved with
SDIO suspend/resume transitions, especially when interacting with SDIO
runtime PM.
As a result, suspend/resume latencies are reduced and battery life is
improved.
I have not done any latencies or power measurements, but I am pr
Hi,
On Sat, Nov 27, 2010 at 01:59:24AM +0200, Ohad Ben-Cohen wrote:
> This patch complements ed919b0 "mmc: sdio: fix runtime PM anomalies by
> introducing MMC_CAP_POWER_OFF_CARD" by declaring MMC_CAP_POWER_OFF_CARD
> on the ZOOM's wl1271 mmc slot.
>
> This is required in order not to break runtim
Chris,
Thanks for the review. Revised complete patch below incorporating your
comments.
Philip
On Nov 27, 2010, at 11:32 AM, Chris Ball wrote:
> Hi Philip,
>
> Some early stylistic review comments:
>
> On Sat, Nov 27, 2010 at 11:00:19AM -0800, Philip Rakity wrote:
>> Patch made against linu
On Sat, Nov 27, 2010 at 12:54:41PM +0100, Michał Mirosław wrote:
> 2010/11/27 Simon Horman :
> > The 16-19th bits of CE_CLK_CTRL set the
> > MMC clock frequency.
> >
> > Cc: Yusuke Goda
> > Cc: Magnus Damm
> > Signed-off-by: Simon Horman
> > ---
> > include/linux/mmc/sh_mmcif.h | 17 +
Hi Philip,
Some early stylistic review comments:
On Sat, Nov 27, 2010 at 11:00:19AM -0800, Philip Rakity wrote:
> Patch made against linux-next (see below) and tested against marvell mmp2
> controller using Marvell linux
The patch doesn't apply against current linux-next or Linus HEAD, due to
Oh
Change from previous patch;
Added MMC_RSP_SPI_R1 to mmc_ops command for DATA_READ and DATA_Write
(Thanks to Takashi Lwai for pointing this out)
Patch made against linux-next (see below) and tested against marvell mmp2
controller using Marvell linux
eMMC cards do not have a card specific field ind
2010/11/27 Simon Horman :
> The 16-19th bits of CE_CLK_CTRL set the
> MMC clock frequency.
>
> Cc: Yusuke Goda
> Cc: Magnus Damm
> Signed-off-by: Simon Horman
> ---
> include/linux/mmc/sh_mmcif.h | 17 +
> 1 files changed, 9 insertions(+), 8 deletions(-)
>
> diff --git a/inclu
14 matches
Mail list logo