diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-12-16 19:20:52 +0300 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-01-30 21:55:15 +0300 |
commit | b26bcf9be64e26d8a0972d6df1c2105cc5076cf1 (patch) | |
tree | 6265a4f29e8bde0b38ac46bd9414b74968b298a9 /drivers/clk/ti/clk.c | |
parent | ed405a2350646a940966f471ae705fa2d81eee65 (diff) | |
download | linux-b26bcf9be64e26d8a0972d6df1c2105cc5076cf1.tar.xz |
clk: ti: composite: add support for legacy composite clock 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/clk.c')
-rw-r--r-- | drivers/clk/ti/clk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c index f41a7576a3ff..546dae405402 100644 --- a/drivers/clk/ti/clk.c +++ b/drivers/clk/ti/clk.c @@ -217,6 +217,9 @@ struct clk __init *ti_clk_register_clk(struct ti_clk *setup) case TI_CLK_DIVIDER: clk = ti_clk_register_divider(setup); break; + case TI_CLK_COMPOSITE: + clk = ti_clk_register_composite(setup); + break; case TI_CLK_FIXED_FACTOR: fixed_factor = setup->data; |