diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-03-03 13:28:53 (GMT) |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-06-02 09:31:22 (GMT) |
commit | 9f37e90efaf0772b8f98bc347b9db77a3f0c27eb (patch) | |
tree | 7a3b08e65e085952b5dd45442a22635718501c19 /drivers/clk/ti/clock.h | |
parent | 046b7c31668311942a2e431e7983d8ab9874d845 (diff) | |
download | linux-9f37e90efaf0772b8f98bc347b9db77a3f0c27eb.tar.xz |
clk: ti: dflt: move support for default gate clock to clock driver
With the legacy support gone, OMAP2+ default gate clock can be moved
under clock driver. Create a new file for the purpose, and clean-up
the header exports a bit as some clock APIs are no longer needed
outside clock driver itself.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'drivers/clk/ti/clock.h')
-rw-r--r-- | drivers/clk/ti/clock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h index 688d9e4..f215383 100644 --- a/drivers/clk/ti/clock.h +++ b/drivers/clk/ti/clock.h @@ -175,9 +175,14 @@ void omap2_clk_enable_init_clocks(const char **clk_names, u8 num_clocks); 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; extern const struct clk_hw_omap_ops clkhwops_iclk; extern const struct clk_hw_omap_ops clkhwops_iclk_wait; +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); + u8 omap2_init_dpll_parent(struct clk_hw *hw); int omap3_noncore_dpll_enable(struct clk_hw *hw); void omap3_noncore_dpll_disable(struct clk_hw *hw); |