diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-08-29 10:04:14 +0300 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2014-08-29 19:23:42 +0530 |
commit | e80e55ebbf2856614f48dc060713b37dbc468ecc (patch) | |
tree | c013756bfd4f433f761950bc84c98bc7ec1bbe04 /include | |
parent | 10c0b25932bafe92d7a24ad3873c5137779a91ab (diff) |
clk: ti: change clock init to use generic of_clk_init
Previously, the TI clock driver initialized all the clocks hierarchically
under each separate clock provider node. Now, each clock that requires
IO access will instead check their parent node to find out which IO range
to use.
This patch allows the TI clock driver to use a few new features provided
by the generic of_clk_init, and also allows registration of clock nodes
outside the clock hierarchy (for example, any external clocks.)
This patch also effectively reverts cf345a4e7213d0a662683591dcec6779832da67e
as the retry mechanism for clockdomain init is no longer needed.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Jyri Sarha <jsarha@ti.com>
Tested-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/clk/ti.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 845f640302a..e8d8a35034a 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h @@ -292,7 +292,7 @@ void omap2xxx_clkt_vps_init(void); void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index); void ti_dt_clocks_register(struct ti_dt_clk *oclks); void ti_dt_clk_init_provider(struct device_node *np, int index); -void ti_dt_clockdomains_setup(struct device_node *node); +void ti_dt_clockdomains_setup(void); int ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, ti_of_clk_init_cb_t func); int of_ti_clk_autoidle_setup(struct device_node *node); |