diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-12-16 17:20:50 +0100 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-01-30 19:55:05 +0100 |
commit | d96f774b25386a7a71c799bbf55b69c27129e454 (patch) | |
tree | cc32d394bd7ec907c0c5fede7a9a546dd74be27c /drivers/clk/ti/clk.c | |
parent | clk: ti: interface: add support for legacy interface clock init (diff) | |
download | linux-d96f774b25386a7a71c799bbf55b69c27129e454.tar.xz linux-d96f774b25386a7a71c799bbf55b69c27129e454.zip |
clk: ti: divider: add support for legacy divider 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 676dbf170b31..a0475e23881d 100644 --- a/drivers/clk/ti/clk.c +++ b/drivers/clk/ti/clk.c @@ -214,6 +214,9 @@ struct clk __init *ti_clk_register_clk(struct ti_clk *setup) case TI_CLK_MUX: clk = ti_clk_register_mux(setup); break; + case TI_CLK_DIVIDER: + clk = ti_clk_register_divider(setup); + break; case TI_CLK_FIXED_FACTOR: fixed_factor = setup->data; |