summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-12-16 18:20:50 +0200
committerMichael Turquette <mturquette@linaro.org>2015-01-30 10:55:05 -0800
commitd96f774b25386a7a71c799bbf55b69c27129e454 (patch)
treecc32d394bd7ec907c0c5fede7a9a546dd74be27c /drivers/clk/ti/clock.h
parent06524fa4289797deb9a66c1a3e681052eed0d83d (diff)
downloadblackbird-op-linux-d96f774b25386a7a71c799bbf55b69c27129e454.tar.gz
blackbird-op-linux-d96f774b25386a7a71c799bbf55b69c27129e454.zip
clk: ti: divider: add support for legacy divider init
Legacy clock data is initialized slightly differently compared to DT clocks, thus add support for this. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/ti/clock.h')
-rw-r--r--drivers/clk/ti/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h
index 9430dc614d3c..fe709412514c 100644
--- a/drivers/clk/ti/clock.h
+++ b/drivers/clk/ti/clock.h
@@ -156,7 +156,9 @@ struct ti_clk_dpll {
struct clk *ti_clk_register_gate(struct ti_clk *setup);
struct clk *ti_clk_register_interface(struct ti_clk *setup);
struct clk *ti_clk_register_mux(struct ti_clk *setup);
+struct clk *ti_clk_register_divider(struct ti_clk *setup);
+struct clk_hw *ti_clk_build_component_div(struct ti_clk_divider *setup);
struct clk_hw *ti_clk_build_component_gate(struct ti_clk_gate *setup);
struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup);
OpenPOWER on IntegriCloud