clk: ti: generalize the init sequence of clk_hw_omap clocks
authorTero Kristo <t-kristo@ti.com>
Tue, 15 Jan 2019 09:15:15 +0000 (11:15 +0200)
committerTero Kristo <t-kristo@ti.com>
Fri, 15 Feb 2019 14:46:22 +0000 (16:46 +0200)
commitead478250b950f1f082d4cb57bed3adeacfe53c3
tree5649053515fe4864839d2d3ea1baed0fbe14a7cd
parent8aa09cf322c196df95b52ed63c4cae605296f343
clk: ti: generalize the init sequence of clk_hw_omap clocks

Add a generic API for initializing clocks of clk_hw_omap type clocks,
and convert the whole TI clock driver suite to use this for registering
the clocks. Also, get rid of the now redundant API for adding the clocks
to the OMAP HW clocks list; instead this is used directly from the
register API.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Keerthy <j-keerthy@ti.com>
drivers/clk/ti/apll.c
drivers/clk/ti/clk.c
drivers/clk/ti/clock.h
drivers/clk/ti/dpll.c
drivers/clk/ti/gate.c
drivers/clk/ti/interface.c