summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-12-16 18:20:48 +0200
committerMichael Turquette <mturquette@linaro.org>2015-01-30 10:54:54 -0800
commitf187616b36edafff5a18d2b66fe7eed3bbb38bf0 (patch)
treeb200f7c83602177dc499e12cfab36e5c3f16dbba /drivers/clk/ti/clock.h
parent7c18a65cb5295484261274b931dd4a3da88695d2 (diff)
clk: ti: gate: add support for legacy gate init
Legacy clock data is initialialized 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 c06bbf4c9f95..d0715bc029b6 100644
--- a/drivers/clk/ti/clock.h
+++ b/drivers/clk/ti/clock.h
@@ -153,8 +153,10 @@ struct ti_clk_dpll {
u8 recal_st_bit;
};
+struct clk *ti_clk_register_gate(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);
struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup);
void ti_clk_patch_legacy_clks(struct ti_clk **patch);