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/clockdomains.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/clockdomains.h')
-rw-r--r-- | arch/arm/mach-omap2/clockdomains.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clockdomains.h b/arch/arm/mach-omap2/clockdomains.h index ec5a72090993..9eb734328107 100644 --- a/arch/arm/mach-omap2/clockdomains.h +++ b/arch/arm/mach-omap2/clockdomains.h | |||
@@ -256,6 +256,36 @@ static struct clockdomain emu_clkdm = { | |||
256 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | 256 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), |
257 | }; | 257 | }; |
258 | 258 | ||
259 | static struct clockdomain dpll1_clkdm = { | ||
260 | .name = "dpll1_clkdm", | ||
261 | .pwrdm = { .name = "dpll1_pwrdm" }, | ||
262 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
263 | }; | ||
264 | |||
265 | static struct clockdomain dpll2_clkdm = { | ||
266 | .name = "dpll2_clkdm", | ||
267 | .pwrdm = { .name = "dpll2_pwrdm" }, | ||
268 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
269 | }; | ||
270 | |||
271 | static struct clockdomain dpll3_clkdm = { | ||
272 | .name = "dpll3_clkdm", | ||
273 | .pwrdm = { .name = "dpll3_pwrdm" }, | ||
274 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
275 | }; | ||
276 | |||
277 | static struct clockdomain dpll4_clkdm = { | ||
278 | .name = "dpll4_clkdm", | ||
279 | .pwrdm = { .name = "dpll4_pwrdm" }, | ||
280 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430), | ||
281 | }; | ||
282 | |||
283 | static struct clockdomain dpll5_clkdm = { | ||
284 | .name = "dpll5_clkdm", | ||
285 | .pwrdm = { .name = "dpll5_pwrdm" }, | ||
286 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430ES2), | ||
287 | }; | ||
288 | |||
259 | #endif /* CONFIG_ARCH_OMAP34XX */ | 289 | #endif /* CONFIG_ARCH_OMAP34XX */ |
260 | 290 | ||
261 | /* | 291 | /* |
@@ -318,6 +348,11 @@ static struct clockdomain *clockdomains_omap[] = { | |||
318 | &usbhost_clkdm, | 348 | &usbhost_clkdm, |
319 | &per_clkdm, | 349 | &per_clkdm, |
320 | &emu_clkdm, | 350 | &emu_clkdm, |
351 | &dpll1_clkdm, | ||
352 | &dpll2_clkdm, | ||
353 | &dpll3_clkdm, | ||
354 | &dpll4_clkdm, | ||
355 | &dpll5_clkdm, | ||
321 | #endif | 356 | #endif |
322 | 357 | ||
323 | NULL, | 358 | NULL, |