diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-04-27 22:23:06 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-06-02 12:31:46 +0300 |
commit | 989feafb84118a840ff21250a1e5f516f43e3dbb (patch) | |
tree | 8bbd67f41a35f671419c649beb5d6f04d32eb66c /include/linux/clk | |
parent | e3aedf0234e7f12554c591bc37236f3469fed8fa (diff) | |
download | linux-989feafb84118a840ff21250a1e5f516f43e3dbb.tar.gz linux-989feafb84118a840ff21250a1e5f516f43e3dbb.tar.bz2 linux-989feafb84118a840ff21250a1e5f516f43e3dbb.zip |
clk: ti: move low-level access and init code under clock driver
With most of the clock code under clock driver already, the low-level
register access code, and the init code for the same, is no longer
needed outside the clock driver. Thus, these can be moved under clock
driver also.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'include/linux/clk')
-rw-r--r-- | include/linux/clk/ti.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 5b644313e38a..9299222d680d 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h @@ -250,11 +250,16 @@ void omap2xxx_clkt_dpllcore_init(struct clk_hw *hw); void omap2xxx_clkt_vps_init(void); unsigned long omap2_get_dpll_rate(struct clk_hw_omap *clk); -void ti_dt_clk_init_provider(struct device_node *np, int index); void ti_dt_clk_init_retry_clks(void); void ti_dt_clockdomains_setup(void); int ti_clk_setup_ll_ops(struct ti_clk_ll_ops *ops); +struct regmap; + +int omap2_clk_provider_init(struct device_node *parent, int index, + struct regmap *syscon, void __iomem *mem); +void omap2_clk_legacy_provider_init(int index, void __iomem *mem); + int omap3430_dt_clk_init(void); int omap3630_dt_clk_init(void); int am35xx_dt_clk_init(void); |