From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: linux-omap@vger.kernel.org
Subject: OMAP1: mcbsp clocks
Date: Thu, 22 Jan 2009 23:55:43 +0000 [thread overview]
Message-ID: <20090122235543.GC8137@n2100.arm.linux.org.uk> (raw)
A question about OMAP1 mcbsp clocks. From what I understand from the
OMAP5912 clock architecture documentation, mcbsp1 and mcbsp3 have two
clocks:
1. interface clock switchable between DSPPER_CK and DSPXOR_CK.
2. a function clock which could be DSPXOR_CK (mcbsp3), and
CK_DPLL1OUT or MCBS1_CLKS (mcbsp1).
However, the code in mach-omap1/mcbsp.c associates both mcbsp1 and 3
unconditionally with all of: DSP_CK, API_CK and DSPXOR_CK. As far as
I can see, DSP_CK (for the DSP processor) and API_CK (for system dma)
have nothing to do with mcbsp1,3.
So, the question is why is it this way, and what would be the effect
of correcting this so that both of these mcbsp units are associated
with their proper interface and function clocks?
On a related note, mcbsp2 has its own interface and function clocks,
both tied to ARMPER_CK, which it doesn't even claim. Again - why
not?
And on that note, can someone explain to me the weird way idle stuff
is handled? It seems that idle modes are only controlled in one
situation:
1. a clock has CLOCK_NO_IDLE_PARENT set
2. the parent has CLOCK_IDLE_CONTROL set
In other words, to invoke the idle state of a clock, it's _child_ needs
to be manipulated - manipulating the clock itself, even if it has
CLOCK_IDLE_CONTROL, has no effect on the idle states. Why is this?
(There's also a bunch of clocks which have CLOCK_IDLE_CONTROL set
but which don't have any children, making the idle state for those
clocks effectively unreachable - bug?)
next reply other threads:[~2009-01-22 23:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-22 23:55 Russell King - ARM Linux [this message]
2009-01-23 1:17 ` OMAP1: mcbsp clocks Tony Lindgren
2009-01-23 17:42 ` Russell King - ARM Linux
2009-01-23 17:54 ` Tony Lindgren
2009-01-23 19:03 ` Hunter, Jon
2009-01-23 19:17 ` Tony Lindgren
2009-01-23 19:26 ` Premi, Sanjeev
[not found] ` <b6ab3a160901231159xcfca2ebx3e7390e195bfa102@mail.gmail.com>
2009-01-23 20:02 ` Fwd: " Alejandro Blanca G.
2009-01-23 21:29 ` Hunter, Jon
[not found] ` <b6ab3a160901231347n67feec99va7731328671925fe@mail.gmail.com>
2009-01-23 21:48 ` Alejandro Blanca G.
2009-01-23 22:54 ` Hunter, Jon
2009-01-24 4:28 ` Alejandro Blanca G.
2009-01-23 17:18 ` Hunter, Jon
2009-01-23 17:31 ` Russell King - ARM Linux
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=20090122235543.GC8137@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-omap@vger.kernel.org \
/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