All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Quadros <roger.quadros@nokia.com>
To: ext Ohad Ben-Cohen <ohad@wizery.com>
Cc: Kishore Kadiyala <kishorek.kadiyala@gmail.com>,
	Nicolas Pitre <nico@fluxnic.net>,
	"Ghorai, Sukumar" <s-ghorai@ti.com>, Chris Ball <cjb@laptop.org>,
	Linus Walleij <linus.ml.walleij@gmail.com>,
	Adrian Hunter <adrian.hunter@nokia.com>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	"Kadiyala, Kishore" <kishore.kadiyala@ti.com>,
	"Chikkature Rajashekar, Madhusudhan" <madhu.cr@ti.com>,
	"S, Venkatraman" <svenkatr@ti.com>
Subject: Re: [RFC] MMC: Proposals on reworking clock and power management
Date: Fri, 29 Oct 2010 13:47:59 +0300	[thread overview]
Message-ID: <4CCAA65F.2050905@nokia.com> (raw)
In-Reply-To: <AANLkTi=SAwgaR5ugPZw-Nf4JRJMqgLAmZbKPJpkyRSGg@mail.gmail.com>

On 10/28/2010 11:51 PM, ext Ohad Ben-Cohen wrote:
> On Thu, Oct 28, 2010 at 6:40 PM, Kishore Kadiyala
> <kishorek.kadiyala@gmail.com>  wrote:
>> On Thu, Oct 28, 2010 at 9:43 PM, Nicolas Pitre<nico@fluxnic.net>  wrote:
>>> This is not clear that this is something that the core can effectively
>>> help with.  Opportunistic power saving at the host controller level is
>>> pretty much hardware dependent and may wildly vary in capabilities...
>>> and bugs.  So in this later case I think the driver for the host
>>> controller is the best place to just set up a timer and gate the clock
>>> after a certain period of inactivity for example.
>
> makes sense, thanks.

just to be sure, we're talking about controller clock and not card clock. right?

>
>> Agree,
>> So briefly, calling pm_runtime_put_sync using a activity based timer
>> in the host Controller
>> driver will gate the clock to the controller .
>
> Just make sure you call pm_suspend_ignore_children(), because you want
> to be able to gate that clock even when the card is still active

Let's be specific when we say clock. Which clock?

-- 
regards,
-roger

  reply	other threads:[~2010-10-29 10:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 13:57 [RFC] MMC: Proposals on reworking clock and power management Ghorai, Sukumar
2010-10-27 14:32 ` Alan Cox
2010-10-27 15:07   ` Kishore Kadiyala
2010-10-27 15:47   ` Madhusudhan
2010-10-27 15:53     ` Alan Cox
2010-10-27 19:50       ` Nicolas Pitre
2010-10-27 19:57 ` Nicolas Pitre
2010-10-28 15:11   ` Kishore Kadiyala
2010-10-28 15:31     ` Ohad Ben-Cohen
2010-10-28 15:39     ` Kishore Kadiyala
2010-10-28 15:48       ` Ohad Ben-Cohen
2010-10-28 16:13         ` Nicolas Pitre
2010-10-28 16:40           ` Kishore Kadiyala
2010-10-28 20:51             ` Ohad Ben-Cohen
2010-10-29 10:47               ` Roger Quadros [this message]
2010-10-29 14:03                 ` Ohad Ben-Cohen
2010-10-29 14:34               ` Kishore Kadiyala
2010-10-29 17:00 ` Linus Walleij

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=4CCAA65F.2050905@nokia.com \
    --to=roger.quadros@nokia.com \
    --cc=adrian.hunter@nokia.com \
    --cc=cjb@laptop.org \
    --cc=kishore.kadiyala@ti.com \
    --cc=kishorek.kadiyala@gmail.com \
    --cc=linus.ml.walleij@gmail.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=madhu.cr@ti.com \
    --cc=nico@fluxnic.net \
    --cc=ohad@wizery.com \
    --cc=s-ghorai@ti.com \
    --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.