diff options
author | Tero Kristo <t-kristo@ti.com> | 2016-09-29 12:05:00 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-03-08 12:57:45 +0200 |
commit | c17435c56bb1feb7365ebffcfbe98baae50a0fb4 (patch) | |
tree | 9ab61d299724441120062382fd913afef0a68829 /drivers/clk/ti/clock.h | |
parent | 21f0bf2d3dcc7b18cebe2fa3da700e3263c3a3ce (diff) | |
download | linux-c17435c56bb1feb7365ebffcfbe98baae50a0fb4.tar.bz2 |
clk: ti: add API for creating aliases automatically for simple clock types
This API generates clock aliases automatically for simple clock types
(fixed-clock, fixed-factor-clock), so that we don't need to add the data
for these statically into tables. Shall be called from the SoC specific
clock init.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/clk/ti/clock.h')
-rw-r--r-- | drivers/clk/ti/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h index c38de6d77e29..ee6d22507a3d 100644 --- a/drivers/clk/ti/clock.h +++ b/drivers/clk/ti/clock.h @@ -192,6 +192,7 @@ struct clk *ti_clk_register_dpll(struct ti_clk *setup); struct clk *ti_clk_register(struct device *dev, struct clk_hw *hw, const char *con); int ti_clk_add_alias(struct device *dev, struct clk *clk, const char *con); +void ti_clk_add_aliases(void); 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); |