From: Adrian Hunter <adrian.hunter@intel.com>
To: Chris Ball <cjb@laptop.org>
Cc: "S, Venkatraman" <svenkatr@ti.com>, Balaji T K <balajitk@ti.com>,
linux-mmc@vger.kernel.org,
Adrian Hunter <adrian.hunter@intel.com>
Subject: Re: [RFC/RFT] MMC: CORE: eMMC in Sleep mode before suspend
Date: Thu, 21 Jul 2011 23:12:26 +0300 [thread overview]
Message-ID: <4E28882A.2020405@intel.com> (raw)
In-Reply-To: <m21uxm9pym.fsf@bob.laptop.org>
On 19/07/2011 7:48 p.m., Chris Ball wrote:
> Hi,
>
> On Tue, Jul 19 2011, S, Venkatraman wrote:
>> On Wed, Jul 13, 2011 at 8:06 PM, Balaji T K<balajitk@ti.com> wrote:
>>> Put MMC to sleep if it supports SLEEP/AWAKE (CMD5)
>>> in the mmc suspend to minimize power consumption.
>>>
>>> Signed-off-by: Balaji T K<balajitk@ti.com>
>> Balaji,
>> Would you mind reposting the patch without the RFC and s/CORE/core
>> in subject line ?
>> You can add my
>> Acked-by: Venkatraman S<svenkatr@ti.com>
> No need to resend, thanks -- pushed to mmc-next with these changes and
> the ACK.
>
> Anyone object to letting this soak in mmc-next for a release and merging
> it in 3.2? I'm worried that we'll find card or host quirks around this,
> and the 3.0 release is probably happening today.
eMMC often have VccQ (logic) always on (or sharing the same power as
SDRAM which comes to the same thing), but can switch off Vcc (NAND
core). However, turning off Vcc without first putting the card to sleep
can result in errors i.e. you are not allowed to do it.
This patch seems to be covering the "VccQ always on" case but relies on
CMD0 to wake up the card.
If that is what is going on, then some comments to that effect are
needed, including within mmc_init_card to note that mmc_go_idle is
needed for cards that are asleep - if that is, in fact, correct.
Also, wouldn't it be nice to wake up the card with CMD5 which should be
much faster than re-initialising?
> - Chris.
next prev parent reply other threads:[~2011-07-21 20:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-13 14:36 [RFC/RFT] MMC: CORE: eMMC in Sleep mode before suspend Balaji T K
2011-07-14 14:05 ` Subhash Jadavani
2011-07-19 16:01 ` S, Venkatraman
2011-07-19 16:48 ` Chris Ball
2011-07-21 20:12 ` Adrian Hunter [this message]
2011-09-08 16:01 ` T Krishnamoorthy, Balaji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E28882A.2020405@intel.com \
--to=adrian.hunter@intel.com \
--cc=balajitk@ti.com \
--cc=cjb@laptop.org \
--cc=linux-mmc@vger.kernel.org \
--cc=svenkatr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.