[PATCH RFC 0/3] clk: dt: bindings for mux & divider clocks

Mike Turquette mturquette at linaro.org
Sat Jun 8 14:25:03 EDT 2013

Quoting Shawn Guo (2013-06-07 20:02:41)
> On Fri, Jun 07, 2013 at 10:52:54AM -0700, Mike Turquette wrote:
> > Yes, there was a time when I was firmly against doing such a thing.
> > However I'm not sure it is so bad now.  More and more SoCs are going to
> > keep getting merged into the kernel and that just means more and more
> > clock data.  Perhaps DT is best suited to handle this bloat.  I broke
> > the clock data out into a separate file so that it didn't overwhelm the
> > existing omap4.dtsi.
> I'm actually more concerned by run-time impact.  Any of_find_node_*()
> call will possibly have to scan all those hundreds of nodes to find the
> desired one.  Anyway, it's an OMAP folks decision, and the impact might
> not be that much on those fast CPUs.

Agreed.  Once the conversion is complete we'll have to measure and see
if any negligible boot-time latency is present.  Alternatively we could
avoid registering the whole clock framework at boot time and instead
register clocks as needed (either by loading the omap4 clock driver
module or even on a per-device basis).  Tony has hinted at this a few


> Shawn
> > 
> > Either way I marked this series as RFC precisely due to your point.  I
> > want feedback on how the OMAP folks feel about this.  So far no has has
> > NACKed it ;-)

More information about the linux-arm-kernel mailing list