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

Mike Turquette mturquette at linaro.org
Sat Jun 8 03:52:54 EST 2013


Quoting Shawn Guo (2013-06-06 22:51:31)
> Mike,
> 
> On Mon, Jun 03, 2013 at 10:53:07AM -0700, Mike Turquette wrote:
> > I am using this code while converting the OMAP4 clock data over to DT
> 
> I see these basic clk bindings can be useful for platforms that have
> a relatively simple clock tree, but I'm a little surprised that you plan
> to move OMAP4 to it.  I'm wondering how many nodes you will have to add
> to OMAP4 device tree.  For imx6q example, it means ~200 nodes addition
> to device tree, which is obviously a bloating of device tree.
> 

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.

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 ;-)

Regards,
Mike

> Shawn
> 
> > and some common boilerplate code can be factored out of several clock
> > drivers if this is merged.


More information about the devicetree-discuss mailing list