diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-02-21 16:36:21 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2014-05-28 11:28:20 +0200 |
commit | aa76fcf473f6bfa839f37f77b6fdb71f0fb88d8f (patch) | |
tree | d8696ea988e4a1e54e6017b31fd8fd268a97a76a /include | |
parent | CLK: TI: DPLL: simplify autoidle register detection logic (diff) | |
download | linux-aa76fcf473f6bfa839f37f77b6fdb71f0fb88d8f.tar.xz linux-aa76fcf473f6bfa839f37f77b6fdb71f0fb88d8f.zip |
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')
-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); void omap2_dflt_clk_disable(struct clk_hw *hw); int omap2_dflt_clk_is_enabled(struct clk_hw *hw); void omap3_clk_lock_dpll5(void); +unsigned long omap2_dpllcore_recalc(struct clk_hw *hw, + unsigned long parent_rate); +int omap2_reprogram_dpllcore(struct clk_hw *clk, unsigned long rate, + unsigned long parent_rate); +void omap2xxx_clkt_dpllcore_init(struct clk_hw *hw); void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index); void ti_dt_clocks_register(struct ti_dt_clk *oclks); @@ -287,6 +292,7 @@ static inline void of_ti_clk_allow_autoidle_all(void) { } static inline void of_ti_clk_deny_autoidle_all(void) { } #endif +extern const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll; extern const struct clk_hw_omap_ops clkhwops_omap3_dpll; extern const struct clk_hw_omap_ops clkhwops_omap4_dpllmx; extern const struct clk_hw_omap_ops clkhwops_wait; |