From: Tony Lindgren <tony@atomide.com>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] OMAP: Asynchronous clock disable
Date: Sun, 7 Oct 2007 20:51:25 -0700 [thread overview]
Message-ID: <20071008035124.GA11220@atomide.com> (raw)
In-Reply-To: <3B6D69C3A9EBCA4BA5DA60D913027429021E0463@dlee13.ent.ti.com>
Hi,
* Woodruff, Richard <r-woodruff2@ti.com> [071005 06:29]:
>
> > Subject: [PATCH] OMAP: Asynchronous clock disable
>
> Generally I think something like this is good. Internally I've been
> calling this clock_disable_lazy().
>
> For OMAP3 we have been trying to make drivers more aggressive in their
> FCLCOK handling. As much of this control happens in bottom layers of
> large stacks, we don't always know the call frequency on all entry
> points into a driver. This call can have local clock implications like
> you are seeing and also power domain and chip wide ones.
>
> As for what is the right number for each driver we were floating ideas
> like if you have an active inner region of the driver, it should use a
> small number and for outer regions use a larger number.
>
> * If you don't have the time or knowledge to instrument these drivers
> call in points as their may be many (or to be more future proof with
> less maintenance) it might be ok to set the time out to coincide with
> some global system wide or domain wide activity timers.
>
> This might apply more to say power domains, but one point is, if the
> display is on and the user is interacting the touch screen, it is
> impossible to hit _chip_ OFF modes anyway. This will only happen after
> the screen has blanked. Thus for some timers having them approximately
> set to user input speeds might be ok. Once these major events have
> happened (screen blank and no input activity), it now becomes about
> optimizing duty cycle of chip low power modes. In this case shorter
> timer outs are better as they are more impacting in that system mode.
>
> I'll try to look at actual code a bit more later on.
Sounds like this could also allow the same performance as keeping clocks
on all the time for some drivers.
We just have to take care not to use it too much with timers going off
all the time :)
Tony
next prev parent reply other threads:[~2007-10-08 3:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-05 12:50 [PATCH] OMAP: Asynchronous clock disable Jarkko Lavinen
2007-10-05 13:25 ` Igor Stoppa
2007-10-05 13:27 ` Woodruff, Richard
2007-10-08 3:51 ` Tony Lindgren [this message]
2007-10-09 22:17 ` Woodruff, Richard
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=20071008035124.GA11220@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=r-woodruff2@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox