Re: [PATCH 3/4] clk: add DT clock binding support

From
Rob Herring <hidden>
Date
2012-04-10 12:57:18
Also in
linux-arm-kernel, lkml
Reply to
Fabio Estevam, 2012-04-10
On 04/09/2012 11:27 PM, Fabio Estevam wrote:
On Mon, Apr 9, 2012 at 5:25 PM, Rob Herring [off-list ref] wrote:
quoted
From: Grant Likely <redacted>

Based on work 1st by Ben Herrenschmidt and Jeremy Kerr, then by Grant
Likely, this patch adds support to clk_get to allow drivers to retrieve
clock data from the device tree.

Platforms scan for clocks in DT with of_clk_init and a match table, and
the register a provider through of_clk_add_provider. The provider's
clk_src_get function will be called when a device references the
provider's OF node for a clock reference.

v5 (Rob Herring):
   - Move from drivers/of into common clock subsystem
   - Squashed "dt/clock: add a simple provider get function" and
     "dt/clock: add function to get parent clock name"
   - Rebase to 3.4-rc1
   - Drop CONFIG_OF_CLOCK and just use CONFIG_OF
   - Add missing EXPORT_SYMBOL to various functions
   - s/clock-output-name/clock-output-names/
   - Define that fixed-clock binding is a single output
The patch history should go below the --- line,
No, depends who you ask, and Grant is very much in favor of retaining
the history.

Rob
Thread (16 messages) 16 messages, 5 authors, last reply 2012-05-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help