diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-02-06 09:00:32 -0500 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 14:26:55 -0400 |
commit | 80cbb224b789d256ad5cb36b0af3e5c04ed46bca (patch) | |
tree | 6ef237dd27648da426c57a25344b597ff3c03e1f /arch/arm/mach-omap2/clock.h | |
parent | 219595b6ee139d883b98a9a32efbe2970802200a (diff) |
ARM: OMAP2+: clock: add low-level support for regmap
Some of the TI clock providers will be converted to use syscon, thus
low-level regmap support is needed for the clock drivers also. This
patch adds this support, which can be enabled for individual drivers
in later patches.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock.h')
-rw-r--r-- | arch/arm/mach-omap2/clock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index b6433fc284ce..652ed0ab86ec 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h | |||
@@ -274,8 +274,10 @@ extern const struct clksel_rate div31_1to31_rates[]; | |||
274 | extern int omap2_clkops_enable_clkdm(struct clk_hw *hw); | 274 | extern int omap2_clkops_enable_clkdm(struct clk_hw *hw); |
275 | extern void omap2_clkops_disable_clkdm(struct clk_hw *hw); | 275 | extern void omap2_clkops_disable_clkdm(struct clk_hw *hw); |
276 | 276 | ||
277 | struct regmap; | ||
278 | |||
277 | int __init omap2_clk_provider_init(struct device_node *np, int index, | 279 | int __init omap2_clk_provider_init(struct device_node *np, int index, |
278 | void __iomem *mem); | 280 | struct regmap *syscon, void __iomem *mem); |
279 | void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem); | 281 | void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem); |
280 | 282 | ||
281 | void __init ti_clk_init_features(void); | 283 | void __init ti_clk_init_features(void); |