diff options
| author | Tero Kristo <t-kristo@ti.com> | 2013-07-19 04:36:01 -0400 |
|---|---|---|
| committer | Mike Turquette <mturquette@linaro.org> | 2014-01-17 15:35:41 -0500 |
| commit | 45622e2162b6d5907006f4595f2ac862afe1dfb5 (patch) | |
| tree | 93b492bc3c97404b7cd4f798440cf088e72425e9 /include/linux | |
| parent | 251a449dd3290d5af35da1113e155a37bf8b3ece (diff) | |
CLK: TI: add am33xx clock init file
clk-33xx.c now contains the clock init functionality for am33xx, including
DT clock registration and adding of static clkdev entries.
This patch also moves the omap2_clk_enable_init_clocks declaration to
the driver include, as this is needed by the am33xx clock init code.
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')
| -rw-r--r-- | include/linux/clk/ti.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 506155b1fd1f..0e7c8d956f2b 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h | |||
| @@ -248,6 +248,7 @@ unsigned long omap3_clkoutx2_recalc(struct clk_hw *hw, | |||
| 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 omap2_clk_disable_autoidle_all(void); |
| 251 | void omap2_clk_enable_init_clocks(const char **clk_names, u8 num_clocks); | ||
| 251 | int omap3_dpll4_set_rate(struct clk_hw *clk, unsigned long rate, | 252 | int omap3_dpll4_set_rate(struct clk_hw *clk, unsigned long rate, |
| 252 | unsigned long parent_rate); | 253 | unsigned long parent_rate); |
| 253 | int omap2_dflt_clk_enable(struct clk_hw *hw); | 254 | int omap2_dflt_clk_enable(struct clk_hw *hw); |
| @@ -266,6 +267,7 @@ int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type); | |||
| 266 | int omap4xxx_dt_clk_init(void); | 267 | int omap4xxx_dt_clk_init(void); |
| 267 | int omap5xxx_dt_clk_init(void); | 268 | int omap5xxx_dt_clk_init(void); |
| 268 | int dra7xx_dt_clk_init(void); | 269 | int dra7xx_dt_clk_init(void); |
| 270 | int am33xx_dt_clk_init(void); | ||
| 269 | 271 | ||
| 270 | #ifdef CONFIG_OF | 272 | #ifdef CONFIG_OF |
| 271 | void of_ti_clk_allow_autoidle_all(void); | 273 | void of_ti_clk_allow_autoidle_all(void); |
