Thread (30 messages) flat view 30 messages, 4 authors, 2012-09-19

[PATCHv4 1/8] ARM: OMAP: clk: add support for omap_clk_for_each

From: Tero Kristo <hidden>
Date: 2012-07-16 11:42:51
Also in: linux-omap

On Mon, 2012-07-16 at 15:34 +0530, Rajendra Nayak wrote:
On Friday 13 July 2012 07:49 PM, Tero Kristo wrote:
quoted
This works similarly to e.g. pwrdm_for_each(). Needed by enhanced
usecounting debug functionality that will be added to pm-debug.
OMAP clock framework has its own debugfs entry (/debug/clock) to expose
usecounts for clocks, so does the COMMON clock framework (/debug/clk).
Maybe there isn't one which dumps usecounts for the complete tree,
instead there is one per each clock node.

I agree having a complete dump of the clock tree usecounts can be
useful, but can we keep it in /debug/clock for now?
The reason I am saying this is because once we move from OMAP clock to
COMMON clock, something like what 'omap_clk_for_each' does will
not be possible anyway. We might have to add the support for
dumping complete tree usecounts into the COMMON clock core.
The main idea behind the dump was to allow dumping of whole clocktree
status during failed suspend. It is not that useful as a debugfs feature
(you can do the same with some scripts on userspace), but this is
available as a side effect from the suspend dump.

-Tero
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help