diff options
author | Tero Kristo <t-kristo@ti.com> | 2013-08-21 19:39:15 +0300 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-01-17 12:35:13 -0800 |
commit | 3cd4a596224565cff00b69a02d4b5fa7432ea6d3 (patch) | |
tree | 66ec0ab2c879ccb9715f335af51897376148b2a6 /include/linux/clk | |
parent | f60b1ea5ea7ab1aee34a5ba55520b84b6e6d482e (diff) | |
download | linux-stable-3cd4a596224565cff00b69a02d4b5fa7432ea6d3.tar.gz linux-stable-3cd4a596224565cff00b69a02d4b5fa7432ea6d3.tar.bz2 linux-stable-3cd4a596224565cff00b69a02d4b5fa7432ea6d3.zip |
CLK: TI: add support for clockdomain binding
Some OMAP clocks require knowledge about their parent clockdomain for
book keeping purposes. This patch creates a new DT binding for TI
clockdomains, which act as a collection of device clocks. Clockdomain
itself is rather misleading name for the hardware functionality, as at
least on OMAP4 / OMAP5 / DRA7 the clockdomains can be collections of either
clocks and/or IP blocks, thus idle-domain or such might be more appropriate.
For most cases on these SoCs, the kernel doesn't even need the information
and the mappings can be ignored.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk')
-rw-r--r-- | include/linux/clk/ti.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index d94feb3b5519..a3f89a60de07 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h @@ -255,6 +255,7 @@ int omap2_dflt_clk_is_enabled(struct clk_hw *hw); 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(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); |