diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2012-06-18 02:47:27 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-06-18 14:08:06 -0400 |
commit | 9c80f3aa8b7828c89c5bae5c769955d1ac58630b (patch) | |
tree | 4380085c128ab80d28fbb96806bfc4f85cd3cbb3 /arch/arm/mach-omap2/clockdomain.h | |
parent | 3f0ea7645ae6d7111ebc3e83f47fbc0f2c8a8964 (diff) |
ARM: OMAP AM33xx: clockdomains: Add clockdomain data and respective operations
AM33XX PRCM module consists of various clockdomains, in all
total we have 18 clockdomains available, with following
controlling options,
- SW Sleep: sw forced sleep transition
- SW Wakeup: sw forced wakeup transition
This patch adds all available clockdomain data, respective
clockdomain operations for AM33XX family of device, and also
integrates it into existing OMAP framework.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
CC: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
[paul@pwsan.com: removed CLKDM_NO_AUTODEPS from clockdomain flags, removed
unnecessary .clktrctrl_offs field; updated for 3.5]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain.h')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.h b/arch/arm/mach-omap2/clockdomain.h index f7b58609bad8..72cb12bbb9c3 100644 --- a/arch/arm/mach-omap2/clockdomain.h +++ b/arch/arm/mach-omap2/clockdomain.h | |||
@@ -195,6 +195,7 @@ int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh); | |||
195 | extern void __init omap242x_clockdomains_init(void); | 195 | extern void __init omap242x_clockdomains_init(void); |
196 | extern void __init omap243x_clockdomains_init(void); | 196 | extern void __init omap243x_clockdomains_init(void); |
197 | extern void __init omap3xxx_clockdomains_init(void); | 197 | extern void __init omap3xxx_clockdomains_init(void); |
198 | extern void __init am33xx_clockdomains_init(void); | ||
198 | extern void __init omap44xx_clockdomains_init(void); | 199 | extern void __init omap44xx_clockdomains_init(void); |
199 | extern void _clkdm_add_autodeps(struct clockdomain *clkdm); | 200 | extern void _clkdm_add_autodeps(struct clockdomain *clkdm); |
200 | extern void _clkdm_del_autodeps(struct clockdomain *clkdm); | 201 | extern void _clkdm_del_autodeps(struct clockdomain *clkdm); |
@@ -202,6 +203,7 @@ extern void _clkdm_del_autodeps(struct clockdomain *clkdm); | |||
202 | extern struct clkdm_ops omap2_clkdm_operations; | 203 | extern struct clkdm_ops omap2_clkdm_operations; |
203 | extern struct clkdm_ops omap3_clkdm_operations; | 204 | extern struct clkdm_ops omap3_clkdm_operations; |
204 | extern struct clkdm_ops omap4_clkdm_operations; | 205 | extern struct clkdm_ops omap4_clkdm_operations; |
206 | extern struct clkdm_ops am33xx_clkdm_operations; | ||
205 | 207 | ||
206 | extern struct clkdm_dep gfx_24xx_wkdeps[]; | 208 | extern struct clkdm_dep gfx_24xx_wkdeps[]; |
207 | extern struct clkdm_dep dsp_24xx_wkdeps[]; | 209 | extern struct clkdm_dep dsp_24xx_wkdeps[]; |