All of lore.kernel.org
 help / color / mirror / Atom feed
From: "T Krishnamoorthy, Balaji" <balajitk@ti.com>
To: Adrian Hunter <adrian.hunter@intel.com>
Cc: Chris Ball <cjb@laptop.org>, "S, Venkatraman" <svenkatr@ti.com>,
	linux-mmc@vger.kernel.org
Subject: Re: [RFC/RFT] MMC: CORE: eMMC in Sleep mode before suspend
Date: Thu, 8 Sep 2011 21:31:18 +0530	[thread overview]
Message-ID: <CANrkHUaEU2tydj5yoA7fB_Lic6dBhXgfcFTcxSSHTzmPO1ZGpw@mail.gmail.com> (raw)
In-Reply-To: <4E28882A.2020405@intel.com>

On Fri, Jul 22, 2011 at 1:42 AM, Adrian Hunter <adrian.hunter@intel.com> wrote:
> 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.

Yes, current implementation depends on CMD0 in mmc_init_card to wakeup.
Specification allows eMMC card in sleep to respond to CMD0/CMD5
Will send an updated patch with comments added.

>
> Also, wouldn't it be nice to wake up the card with CMD5 which should be much
> faster than re-initialising?
>
>> - Chris.
>
>

      reply	other threads:[~2011-09-08 23:06 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
2011-09-08 16:01       ` T Krishnamoorthy, Balaji [this message]

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=CANrkHUaEU2tydj5yoA7fB_Lic6dBhXgfcFTcxSSHTzmPO1ZGpw@mail.gmail.com \
    --to=balajitk@ti.com \
    --cc=adrian.hunter@intel.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.