summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-12-16 18:20:49 +0200
committerMichael Turquette <mturquette@linaro.org>2015-01-30 10:55:00 -0800
commit06524fa4289797deb9a66c1a3e681052eed0d83d (patch)
tree8af9e6d4ce571b62671ceaf663b8d59807b0fb4a /drivers/clk/ti/clock.h
parentf187616b36edafff5a18d2b66fe7eed3bbb38bf0 (diff)
downloadlinux-06524fa4289797deb9a66c1a3e681052eed0d83d.tar.gz
linux-06524fa4289797deb9a66c1a3e681052eed0d83d.tar.bz2
linux-06524fa4289797deb9a66c1a3e681052eed0d83d.zip
clk: ti: interface: add support for legacy interface clock init
Legacy clock data is initialized slightly differently compared to DT clocks, thus add support for this. The interface clock descriptor itself is overloading the gate clock descriptor, thus it needs to be called from the gate setup. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h
index d0715bc029b6..9430dc614d3c 100644
--- a/drivers/clk/ti/clock.h
+++ b/drivers/clk/ti/clock.h
@@ -154,6 +154,7 @@ 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_hw *ti_clk_build_component_gate(struct ti_clk_gate *setup);