diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-02-06 14:00:32 (GMT) |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 18:26:55 (GMT) |
commit | 80cbb224b789d256ad5cb36b0af3e5c04ed46bca (patch) | |
tree | 6ef237dd27648da426c57a25344b597ff3c03e1f /arch/arm/mach-omap2/clock.h | |
parent | 219595b6ee139d883b98a9a32efbe2970802200a (diff) | |
download | linux-80cbb224b789d256ad5cb36b0af3e5c04ed46bca.tar.xz |
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 b6433fc..652ed0a 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[]; extern int omap2_clkops_enable_clkdm(struct clk_hw *hw); extern void omap2_clkops_disable_clkdm(struct clk_hw *hw); +struct regmap; + int __init omap2_clk_provider_init(struct device_node *np, int index, - void __iomem *mem); + struct regmap *syscon, void __iomem *mem); void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem); void __init ti_clk_init_features(void); |