All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] Use clknames to reference parent/bypass/ref clks
@ 2011-01-19 14:14 Rajendra Nayak
  2011-01-19 14:14 ` [RFC 1/3] OMAP: clocks: Use clk names instead of clk pointers Rajendra Nayak
  2011-02-16 12:22 ` [RFC 0/3] Use clknames to reference parent/bypass/ref clks Rajendra Nayak
  0 siblings, 2 replies; 17+ messages in thread
From: Rajendra Nayak @ 2011-01-19 14:14 UTC (permalink / raw)
  To: linux-omap; +Cc: paul, khilman, Rajendra Nayak

This RFC series adds support to allow clock
framework to reference clk parents, reference
clocks and bypass clocks (for DPLL's) by names
along with the current support to reference
them by pointers.

Referencing through clk pointers makes it difficult
to support different revs of a single chip when
seperate clk nodes, one for each rev have to be modelled,
and especially when these are non-leaf nodes.
A case for this exists in the current series as well.

The series is boot tested on 3430sdp and fixes the
multiple WARN's otherwise seen like the one below

[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: at arch/arm/mach-omap2/clkt_clksel.c:194 omap2_clksel_recalc+0xd4/0xe4()
[    0.000000] clock: Could not find fieldval 0 for clock dpll2_fck parent core_ck
[    0.000000] Modules linked in:
[    0.000000] [<c006208c>] (unwind_backtrace+0x0/0xe4) from [<c0092bfc>] (warn_slowpath_common+0x4c/0x64)
[    0.000000] [<c0092bfc>] (warn_slowpath_common+0x4c/0x64) from [<c0092c94>] (warn_slowpath_fmt+0x2c/0x3c)
[    0.000000] [<c0092c94>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0073dc4>] (omap2_clksel_recalc+0xd4/0xe4)
[    0.000000] [<c0073dc4>] (omap2_clksel_recalc+0xd4/0xe4) from [<c0077e1c>] (propagate_rate+0x24/0x50)
[    0.000000] [<c0077e1c>] (propagate_rate+0x24/0x50) from [<c0077e28>] (propagate_rate+0x30/0x50)
[    0.000000] ---[ end trace 1b75b31a2719ed1d ]---

Rajendra Nayak (3):
  OMAP: clocks: Use clk names instead of clk pointers
  OMAP3: PM: Fix CLK_SRC mask for IVA2 and MPU on 3430ES2
  OMAP4: clocks: Remove unused clksel definitions

 arch/arm/mach-omap2/clock2420_data.c    |   86 +++++++-------
 arch/arm/mach-omap2/clock2430_data.c    |   88 ++++++++--------
 arch/arm/mach-omap2/clock3xxx_data.c    |  183 +++++++++++++++++--------------
 arch/arm/mach-omap2/clock44xx_data.c    |  145 +++++++++++-------------
 arch/arm/mach-omap2/cm-regbits-34xx.h   |    2 +
 arch/arm/plat-omap/clock.c              |   48 +++++++-
 arch/arm/plat-omap/include/plat/clock.h |   11 ++-
 7 files changed, 308 insertions(+), 255 deletions(-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-02-16 12:22 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-19 14:14 [RFC 0/3] Use clknames to reference parent/bypass/ref clks Rajendra Nayak
2011-01-19 14:14 ` [RFC 1/3] OMAP: clocks: Use clk names instead of clk pointers Rajendra Nayak
2011-01-19 14:14   ` [RFC 2/3] OMAP3: PM: Fix CLK_SRC mask for IVA2 and MPU on 3430ES2PLUS Rajendra Nayak
2011-01-19 14:14     ` [RFC 3/3] OMAP4: clocks: Remove unused clksel definitions Rajendra Nayak
2011-01-24 22:09     ` [RFC 2/3] OMAP3: PM: Fix CLK_SRC mask for IVA2 and MPU on 3430ES2PLUS Kevin Hilman
2011-01-25  7:24       ` Rajendra Nayak
2011-01-25 15:58         ` Kevin Hilman
2011-01-27  2:43           ` Rajendra Nayak
2011-01-19 15:19   ` [RFC 1/3] OMAP: clocks: Use clk names instead of clk pointers Felipe Balbi
2011-01-20  5:33     ` Rajendra Nayak
2011-01-20  6:26       ` Felipe Balbi
2011-01-20  6:28         ` Rajendra Nayak
2011-01-24 22:08   ` Kevin Hilman
2011-01-25  7:21     ` Rajendra Nayak
2011-01-25 15:57       ` Kevin Hilman
2011-01-27  2:42         ` Rajendra Nayak
2011-02-16 12:22 ` [RFC 0/3] Use clknames to reference parent/bypass/ref clks Rajendra Nayak

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.