summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2015-02-06 16:00:32 +0200
committerTero Kristo <t-kristo@ti.com>2015-03-31 21:26:55 +0300
commit80cbb224b789d256ad5cb36b0af3e5c04ed46bca (patch)
tree6ef237dd27648da426c57a25344b597ff3c03e1f /arch/arm/mach-omap2/clock.h
parent219595b6ee139d883b98a9a32efbe2970802200a (diff)
downloadop-kernel-dev-80cbb224b789d256ad5cb36b0af3e5c04ed46bca.zip
op-kernel-dev-80cbb224b789d256ad5cb36b0af3e5c04ed46bca.tar.gz
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.h4
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);
OpenPOWER on IntegriCloud