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

From
Fabio Estevam <festevam@gmail.com>
Date
2012-04-10 04:27:30
Also in
linux-devicetree, lkml
Reply to
Rob Herring, 2012-04-09
On Mon, Apr 9, 2012 at 5:25 PM, Rob Herring [off-list ref] wrote:
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,
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