From: Tony Lindgren <tony@atomide.com>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: Linux-omap-open-source@linux.omap.com
Subject: Re: omap clock.h question
Date: Tue, 7 Feb 2006 15:12:33 -0800 [thread overview]
Message-ID: <20060207231233.GI27148@atomide.com> (raw)
In-Reply-To: <EA12F909C0431D458B9D18A176BEE4A504365C2E@dlee02.ent.ti.com>
* Woodruff, Richard <r-woodruff2@ti.com> [060207 14:58]:
> > * Woodruff, Richard <r-woodruff2@ti.com> [060207 14:07]:
> > > > I believe he meant just to hide the clock number for mmc 1 or 2.
> But I
> > > > guess we still need to have different naming for omap1 and omap2.
> > >
> > > Like I was saying you could hide both the slot and the names.
> > >
> > > for(i=data.slot[slot].num_clks; i>0; i--)
> > > {
> > > ck = clk_get(data.slot.clk_name[i-1])
> > > if(ck != NULL)
> > > clk_enabl(ck);
> > > }
> > >
> > > That way we don't care the name or how many. It gets rid of some if
> > > statements anyway.
> >
> > But one of the clocks can be off more often than the other from PM
> point
> > of view.
>
> Perhaps, but probably not for OMAP2. The I clocks and the F clock
> enables are local to the module. Enabling an F or an I clock doesn't
> mean the parent which supplies it is active. It will open up a gate of
> sorts and raise a clock request. If that parent source is running then
> it can propagate into the functional block.
>
> I don't think OMAP1 does it quite like this. The source clock doesn't
> have the module level gating.
>
> Seems like in theory you and run some modules with their I clock off and
> the F clock on, though I doubt you would do it much in practice. You
> can just set your I clock to auto idle and it will raise and lower its
> clock request automatically as needed, effectively doing the same.
OK, let's do it in two phases then. First I'll just get rid of the clock
numbers, then let's see if we can combine some clocks later on.
Tony
next prev parent reply other threads:[~2006-02-07 23:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-07 22:57 omap clock.h question Woodruff, Richard
2006-02-07 23:12 ` Tony Lindgren [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-02-07 22:06 Woodruff, Richard
2006-02-07 22:29 ` Tony Lindgren
2006-02-07 21:41 Woodruff, Richard
2006-02-07 21:53 ` Tony Lindgren
2006-02-07 18:59 Brian Swetland
2006-02-07 20:52 ` Tony Lindgren
2006-02-07 21:10 ` Brian Swetland
2006-02-07 21:27 ` Tony Lindgren
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=20060207231233.GI27148@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