diff options
author | Paul Walmsley <paul@pwsan.com> | 2009-01-27 21:44:18 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-08 12:50:30 -0500 |
commit | 46e0ccf8ae32e53dc34a274977e2c6256b2deddc (patch) | |
tree | 65c26ce0872444a047bc9bf9e6f29958b5f5a086 /arch/arm/mach-omap2/powerdomains34xx.h | |
parent | 15b52bc4cb2b4cc93047b957a6c7b9dbd910a6fa (diff) |
[ARM] OMAP3 PRCM: add DPLL1-5 powerdomains, clockdomains; mark clocks
Each DPLL exists in its own powerdomain (cf 34xx TRM figure 4-18) and
clockdomain; so, create powerdomain and clockdomain structures for them.
Mark each DPLL clock as belonging to their respective DPLL clockdomain.
cf. 34xx TRM Table 4-27 (among other references).
linux-omap source commits are acdb615850b9b4f7d1ab68133a16be8c8c0e7419 and
a8798a48f33e9268dcc7f30a4b4a3ce4220fe0c9.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomains34xx.h')
-rw-r--r-- | arch/arm/mach-omap2/powerdomains34xx.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomains34xx.h b/arch/arm/mach-omap2/powerdomains34xx.h index 3a8e4fbea5f2..7b63fa074b71 100644 --- a/arch/arm/mach-omap2/powerdomains34xx.h +++ b/arch/arm/mach-omap2/powerdomains34xx.h | |||
@@ -322,6 +322,37 @@ static struct powerdomain usbhost_pwrdm = { | |||
322 | }, | 322 | }, |
323 | }; | 323 | }; |
324 | 324 | ||
325 | static struct powerdomain dpll1_pwrdm = { | ||
326 | .name = "dpll1_pwrdm", | ||
327 | .prcm_offs = MPU_MOD, | ||
328 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
329 | }; | ||
330 | |||
331 | static struct powerdomain dpll2_pwrdm = { | ||
332 | .name = "dpll2_pwrdm", | ||
333 | .prcm_offs = OMAP3430_IVA2_MOD, | ||
334 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
335 | }; | ||
336 | |||
337 | static struct powerdomain dpll3_pwrdm = { | ||
338 | .name = "dpll3_pwrdm", | ||
339 | .prcm_offs = PLL_MOD, | ||
340 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
341 | }; | ||
342 | |||
343 | static struct powerdomain dpll4_pwrdm = { | ||
344 | .name = "dpll4_pwrdm", | ||
345 | .prcm_offs = PLL_MOD, | ||
346 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
347 | }; | ||
348 | |||
349 | static struct powerdomain dpll5_pwrdm = { | ||
350 | .name = "dpll5_pwrdm", | ||
351 | .prcm_offs = PLL_MOD, | ||
352 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | ||
353 | }; | ||
354 | |||
355 | |||
325 | #endif /* CONFIG_ARCH_OMAP34XX */ | 356 | #endif /* CONFIG_ARCH_OMAP34XX */ |
326 | 357 | ||
327 | 358 | ||