CLK: ti: add init support for clock IP blocks
authorTero Kristo <t-kristo@ti.com>
Tue, 22 Oct 2013 08:39:36 +0000 (11:39 +0300)
committerMike Turquette <mturquette@linaro.org>
Fri, 17 Jan 2014 20:34:52 +0000 (12:34 -0800)
commit819b4861c18d602463cfe815041d11fd81002654
treeb9b83374a962896f3d3903dc16345a9dfa53ecca
parenta8aceccb4d5db0acb476b74051525fb26f57f8ae
CLK: ti: add init support for clock IP blocks

ti_dt_clk_init_provider() can now be used to initialize the contents of
a single clock IP block. This parses all the clocks under the IP block
and calls the corresponding init function for them.

This patch also introduces a helper function for the TI clock drivers
to get register info from DT and append the master IP info to this.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c
drivers/clk/ti/clk.c
include/linux/clk-provider.h
include/linux/clk/ti.h