diff options
author | Tero Kristo <t-kristo@ti.com> | 2013-07-18 08:57:51 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-01-17 15:35:20 -0500 |
commit | 21876ea566fedadd56453af5a1a91eb667c25422 (patch) | |
tree | 6f6d03d5923100c86a9c3cd908845bc888f54942 /include/linux/clk | |
parent | 6a369c584fbe98264458b9442e780f8078f2f7ad (diff) |
CLK: TI: add omap4 clock init file
clk-44xx.c now contains the clock init functionality for omap4, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk')
-rw-r--r-- | include/linux/clk/ti.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 6e205b140071..a56ff1216f8d 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h | |||
@@ -247,6 +247,7 @@ unsigned long omap3_clkoutx2_recalc(struct clk_hw *hw, | |||
247 | unsigned long parent_rate); | 247 | unsigned long parent_rate); |
248 | int omap2_clkops_enable_clkdm(struct clk_hw *hw); | 248 | int omap2_clkops_enable_clkdm(struct clk_hw *hw); |
249 | void omap2_clkops_disable_clkdm(struct clk_hw *hw); | 249 | void omap2_clkops_disable_clkdm(struct clk_hw *hw); |
250 | int omap2_clk_disable_autoidle_all(void); | ||
250 | int omap3_dpll4_set_rate(struct clk_hw *clk, unsigned long rate, | 251 | int omap3_dpll4_set_rate(struct clk_hw *clk, unsigned long rate, |
251 | unsigned long parent_rate); | 252 | unsigned long parent_rate); |
252 | int omap2_dflt_clk_enable(struct clk_hw *hw); | 253 | int omap2_dflt_clk_enable(struct clk_hw *hw); |
@@ -262,6 +263,8 @@ int ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, | |||
262 | int of_ti_clk_autoidle_setup(struct device_node *node); | 263 | int of_ti_clk_autoidle_setup(struct device_node *node); |
263 | int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type); | 264 | int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type); |
264 | 265 | ||
266 | int omap4xxx_dt_clk_init(void); | ||
267 | |||
265 | #ifdef CONFIG_OF | 268 | #ifdef CONFIG_OF |
266 | void of_ti_clk_allow_autoidle_all(void); | 269 | void of_ti_clk_allow_autoidle_all(void); |
267 | void of_ti_clk_deny_autoidle_all(void); | 270 | void of_ti_clk_deny_autoidle_all(void); |