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

Fabio Estevam festevam at gmail.com
Tue Apr 10 14:27:28 EST 2012


On Mon, Apr 9, 2012 at 5:25 PM, Rob Herring <robherring2 at gmail.com> wrote:
> From: Grant Likely <grant.likely at secretlab.ca>
>
> 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,


More information about the devicetree-discuss mailing list