diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 22:28:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 22:28:15 -0400 |
commit | 0df0914d414a504b975f3cc66ace0c16ef55b7f3 (patch) | |
tree | c97ffa357943a8b226cdec1b9632c4cede813205 /arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c | |
parent | 6899608533410557e6698cb9d4ff6df553916e98 (diff) | |
parent | 05f689400ea5fa3d71af82f910c8b140f87ad1f3 (diff) |
Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
* 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (258 commits)
omap: zoom: host should not pull up wl1271's irq line
arm: plat-omap: iommu: fix request_mem_region() error path
OMAP2+: Common CPU DIE ID reading code reads wrong registers for OMAP4430
omap4: mux: Remove duplicate mux modes
omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag
omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set
omap2+: mux: Fix compile when CONFIG_OMAP_MUX is not selected
omap4: board-omap4panda: Initialise the serial pads
omap3: board-3430sdp: Initialise the serial pads
omap4: board-4430sdp: Initialise the serial pads
omap2+: mux: Add macro for configuring static with omap_hwmod_mux_init
omap2+: mux: Remove the use of IDLE flag
omap2+: Add separate list for dynamic pads to mux
perf: add OMAP support for the new power events
OMAP4: Add IVA OPP enteries.
OMAP4: Update Voltage Rail Values for MPU, IVA and CORE
OMAP4: Enable 800 MHz and 1 GHz MPU-OPP
OMAP3+: OPP: Replace voltage values with Macros
OMAP3: wdtimer: Fix CORE idle transition
Watchdog: omap_wdt: add fine grain runtime-pm
...
Fix up various conflicts in
- arch/arm/mach-omap2/board-omap3evm.c
- arch/arm/mach-omap2/clock3xxx_data.c
- arch/arm/mach-omap2/usb-musb.c
- arch/arm/plat-omap/include/plat/usb.h
- drivers/usb/musb/musb_core.h
Diffstat (limited to 'arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c b/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c index e4a7133ea3b3..13bde95b6790 100644 --- a/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c +++ b/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c | |||
@@ -89,6 +89,8 @@ static struct clkdm_dep gfx_sgx_wkdeps[] = { | |||
89 | 89 | ||
90 | /* 24XX-specific possible dependencies */ | 90 | /* 24XX-specific possible dependencies */ |
91 | 91 | ||
92 | #ifdef CONFIG_ARCH_OMAP2 | ||
93 | |||
92 | /* Wakeup dependency source arrays */ | 94 | /* Wakeup dependency source arrays */ |
93 | 95 | ||
94 | /* 2420/2430 PM_WKDEP_DSP: CORE, MPU, WKUP */ | 96 | /* 2420/2430 PM_WKDEP_DSP: CORE, MPU, WKUP */ |
@@ -168,10 +170,11 @@ static struct clkdm_dep core_24xx_wkdeps[] = { | |||
168 | { NULL }, | 170 | { NULL }, |
169 | }; | 171 | }; |
170 | 172 | ||
173 | #endif /* CONFIG_ARCH_OMAP2 */ | ||
171 | 174 | ||
172 | /* 2430-specific possible wakeup dependencies */ | 175 | /* 2430-specific possible wakeup dependencies */ |
173 | 176 | ||
174 | #ifdef CONFIG_ARCH_OMAP2430 | 177 | #ifdef CONFIG_SOC_OMAP2430 |
175 | 178 | ||
176 | /* 2430 PM_WKDEP_MDM: CORE, MPU, WKUP */ | 179 | /* 2430 PM_WKDEP_MDM: CORE, MPU, WKUP */ |
177 | static struct clkdm_dep mdm_2430_wkdeps[] = { | 180 | static struct clkdm_dep mdm_2430_wkdeps[] = { |
@@ -194,7 +197,7 @@ static struct clkdm_dep mdm_2430_wkdeps[] = { | |||
194 | { NULL }, | 197 | { NULL }, |
195 | }; | 198 | }; |
196 | 199 | ||
197 | #endif /* CONFIG_ARCH_OMAP2430 */ | 200 | #endif /* CONFIG_SOC_OMAP2430 */ |
198 | 201 | ||
199 | 202 | ||
200 | /* OMAP3-specific possible dependencies */ | 203 | /* OMAP3-specific possible dependencies */ |
@@ -450,7 +453,7 @@ static struct clockdomain cm_clkdm = { | |||
450 | * 2420-only clockdomains | 453 | * 2420-only clockdomains |
451 | */ | 454 | */ |
452 | 455 | ||
453 | #if defined(CONFIG_ARCH_OMAP2420) | 456 | #if defined(CONFIG_SOC_OMAP2420) |
454 | 457 | ||
455 | static struct clockdomain mpu_2420_clkdm = { | 458 | static struct clockdomain mpu_2420_clkdm = { |
456 | .name = "mpu_clkdm", | 459 | .name = "mpu_clkdm", |
@@ -514,14 +517,14 @@ static struct clockdomain dss_2420_clkdm = { | |||
514 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2420), | 517 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2420), |
515 | }; | 518 | }; |
516 | 519 | ||
517 | #endif /* CONFIG_ARCH_OMAP2420 */ | 520 | #endif /* CONFIG_SOC_OMAP2420 */ |
518 | 521 | ||
519 | 522 | ||
520 | /* | 523 | /* |
521 | * 2430-only clockdomains | 524 | * 2430-only clockdomains |
522 | */ | 525 | */ |
523 | 526 | ||
524 | #if defined(CONFIG_ARCH_OMAP2430) | 527 | #if defined(CONFIG_SOC_OMAP2430) |
525 | 528 | ||
526 | static struct clockdomain mpu_2430_clkdm = { | 529 | static struct clockdomain mpu_2430_clkdm = { |
527 | .name = "mpu_clkdm", | 530 | .name = "mpu_clkdm", |
@@ -600,7 +603,7 @@ static struct clockdomain dss_2430_clkdm = { | |||
600 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2430), | 603 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2430), |
601 | }; | 604 | }; |
602 | 605 | ||
603 | #endif /* CONFIG_ARCH_OMAP2430 */ | 606 | #endif /* CONFIG_SOC_OMAP2430 */ |
604 | 607 | ||
605 | 608 | ||
606 | /* | 609 | /* |
@@ -811,7 +814,7 @@ static struct clockdomain *clockdomains_omap2[] __initdata = { | |||
811 | &cm_clkdm, | 814 | &cm_clkdm, |
812 | &prm_clkdm, | 815 | &prm_clkdm, |
813 | 816 | ||
814 | #ifdef CONFIG_ARCH_OMAP2420 | 817 | #ifdef CONFIG_SOC_OMAP2420 |
815 | &mpu_2420_clkdm, | 818 | &mpu_2420_clkdm, |
816 | &iva1_2420_clkdm, | 819 | &iva1_2420_clkdm, |
817 | &dsp_2420_clkdm, | 820 | &dsp_2420_clkdm, |
@@ -821,7 +824,7 @@ static struct clockdomain *clockdomains_omap2[] __initdata = { | |||
821 | &dss_2420_clkdm, | 824 | &dss_2420_clkdm, |
822 | #endif | 825 | #endif |
823 | 826 | ||
824 | #ifdef CONFIG_ARCH_OMAP2430 | 827 | #ifdef CONFIG_SOC_OMAP2430 |
825 | &mpu_2430_clkdm, | 828 | &mpu_2430_clkdm, |
826 | &mdm_clkdm, | 829 | &mdm_clkdm, |
827 | &dsp_2430_clkdm, | 830 | &dsp_2430_clkdm, |
@@ -854,7 +857,12 @@ static struct clockdomain *clockdomains_omap2[] __initdata = { | |||
854 | NULL, | 857 | NULL, |
855 | }; | 858 | }; |
856 | 859 | ||
857 | void __init omap2_clockdomains_init(void) | 860 | void __init omap2xxx_clockdomains_init(void) |
861 | { | ||
862 | clkdm_init(clockdomains_omap2, clkdm_autodeps, &omap2_clkdm_operations); | ||
863 | } | ||
864 | |||
865 | void __init omap3xxx_clockdomains_init(void) | ||
858 | { | 866 | { |
859 | clkdm_init(clockdomains_omap2, clkdm_autodeps); | 867 | clkdm_init(clockdomains_omap2, clkdm_autodeps, &omap3_clkdm_operations); |
860 | } | 868 | } |