diff options
author | Tero Kristo <t-kristo@ti.com> | 2016-09-29 12:00:57 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-03-08 12:57:12 +0200 |
commit | 21f0bf2d3dcc7b18cebe2fa3da700e3263c3a3ce (patch) | |
tree | 11906fe5d9139a8b24610a216dc4c2d1003fa309 /drivers/clk/ti/clock.h | |
parent | 923386f761f5ff35da2ac778839876fe4a2f165f (diff) |
clk: ti: add support for automatic clock alias generation
Large portions of the OMAP framework still depend on the support of
having clock aliases in place, so add support functions for generating
these automatically.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h index 13c37f48d9d6..c38de6d77e29 100644 --- a/drivers/clk/ti/clock.h +++ b/drivers/clk/ti/clock.h @@ -189,6 +189,9 @@ struct clk *ti_clk_register_mux(struct ti_clk *setup); struct clk *ti_clk_register_divider(struct ti_clk *setup); struct clk *ti_clk_register_composite(struct ti_clk *setup); 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); 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); |