diff options
author | Tero Kristo <t-kristo@ti.com> | 2013-10-22 04:39:36 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-01-17 15:34:52 -0500 |
commit | 819b4861c18d602463cfe815041d11fd81002654 (patch) | |
tree | b9b83374a962896f3d3903dc16345a9dfa53ecca /include/linux/clk-provider.h | |
parent | a8aceccb4d5db0acb476b74051525fb26f57f8ae (diff) |
CLK: ti: add init support for clock IP blocks
ti_dt_clk_init_provider() can now be used to initialize the contents of
a single clock IP block. This parses all the clocks under the IP block
and calls the corresponding init function for them.
This patch also introduces a helper function for the TI clock drivers
to get register info from DT and append the master IP info to this.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r-- | include/linux/clk-provider.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 999b28ba38f7..448b2294820f 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h | |||
@@ -488,6 +488,8 @@ struct clk_onecell_data { | |||
488 | unsigned int clk_num; | 488 | unsigned int clk_num; |
489 | }; | 489 | }; |
490 | 490 | ||
491 | extern struct of_device_id __clk_of_table; | ||
492 | |||
491 | #define CLK_OF_DECLARE(name, compat, fn) \ | 493 | #define CLK_OF_DECLARE(name, compat, fn) \ |
492 | static const struct of_device_id __clk_of_table_##name \ | 494 | static const struct of_device_id __clk_of_table_##name \ |
493 | __used __section(__clk_of_table) \ | 495 | __used __section(__clk_of_table) \ |