diff options
| author | Tero Kristo <t-kristo@ti.com> | 2014-02-21 10:36:21 -0500 |
|---|---|---|
| committer | Tero Kristo <t-kristo@ti.com> | 2014-05-28 05:28:20 -0400 |
| commit | aa76fcf473f6bfa839f37f77b6fdb71f0fb88d8f (patch) | |
| tree | d8696ea988e4a1e54e6017b31fd8fd268a97a76a /include/linux | |
| parent | a6fe3771d389cc660933509b7dfb945c596636f5 (diff) | |
CLK: TI: DPLL: add support for omap2 core dpll
OMAP2 has slightly different DPLL compared to later OMAP generations.
This patch adds support for the ti,omap2-dpll-core-clock and also adds
the bindings documentation.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/clk/ti.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 4a21a872dbbd..753878c6fa52 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h | |||
| @@ -259,6 +259,11 @@ int omap2_dflt_clk_enable(struct clk_hw *hw); | |||
| 259 | void omap2_dflt_clk_disable(struct clk_hw *hw); | 259 | void omap2_dflt_clk_disable(struct clk_hw *hw); |
| 260 | int omap2_dflt_clk_is_enabled(struct clk_hw *hw); | 260 | int omap2_dflt_clk_is_enabled(struct clk_hw *hw); |
| 261 | void omap3_clk_lock_dpll5(void); | 261 | void omap3_clk_lock_dpll5(void); |
| 262 | unsigned long omap2_dpllcore_recalc(struct clk_hw *hw, | ||
| 263 | unsigned long parent_rate); | ||
| 264 | int omap2_reprogram_dpllcore(struct clk_hw *clk, unsigned long rate, | ||
| 265 | unsigned long parent_rate); | ||
| 266 | void omap2xxx_clkt_dpllcore_init(struct clk_hw *hw); | ||
| 262 | 267 | ||
| 263 | void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index); | 268 | void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index); |
| 264 | void ti_dt_clocks_register(struct ti_dt_clk *oclks); | 269 | void ti_dt_clocks_register(struct ti_dt_clk *oclks); |
| @@ -287,6 +292,7 @@ static inline void of_ti_clk_allow_autoidle_all(void) { } | |||
| 287 | static inline void of_ti_clk_deny_autoidle_all(void) { } | 292 | static inline void of_ti_clk_deny_autoidle_all(void) { } |
| 288 | #endif | 293 | #endif |
| 289 | 294 | ||
| 295 | extern const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll; | ||
| 290 | extern const struct clk_hw_omap_ops clkhwops_omap3_dpll; | 296 | extern const struct clk_hw_omap_ops clkhwops_omap3_dpll; |
| 291 | extern const struct clk_hw_omap_ops clkhwops_omap4_dpllmx; | 297 | extern const struct clk_hw_omap_ops clkhwops_omap4_dpllmx; |
| 292 | extern const struct clk_hw_omap_ops clkhwops_wait; | 298 | extern const struct clk_hw_omap_ops clkhwops_wait; |
