diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-07-14 16:28:25 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-14 18:34:46 -0400 |
commit | 53ffe3b440aa85af6fc4eda09b2d44bcdd312d4d (patch) | |
tree | e3ee2f392c5f73c855367cee998fc2e5774fa267 /arch/arm/mach-pxa/trizeps4.c | |
parent | f0006314d37639714da9658cf4ff3f1f9f420764 (diff) | |
parent | cabb352a6455c3550f157909196845f533b0f374 (diff) |
[ARM] Merge most of the PXA work for initial merge
This includes PXA work up to the SPI changes for the initial merge,
since e172274ccc55d20536fbdceb6131f38e288541e0 depends on the SPI
tree being merged.
Conflicts:
arch/arm/configs/em_x270_defconfig
arch/arm/configs/xm_x270_defconfig
Diffstat (limited to 'arch/arm/mach-pxa/trizeps4.c')
-rw-r--r-- | arch/arm/mach-pxa/trizeps4.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/arch/arm/mach-pxa/trizeps4.c b/arch/arm/mach-pxa/trizeps4.c index 931885d86b91..61e244023089 100644 --- a/arch/arm/mach-pxa/trizeps4.c +++ b/arch/arm/mach-pxa/trizeps4.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <asm/mach/flash.h> | 41 | #include <asm/mach/flash.h> |
42 | 42 | ||
43 | #include <asm/arch/pxa-regs.h> | 43 | #include <asm/arch/pxa-regs.h> |
44 | #include <asm/arch/pxa2xx-regs.h> | ||
44 | #include <asm/arch/pxa2xx-gpio.h> | 45 | #include <asm/arch/pxa2xx-gpio.h> |
45 | #include <asm/arch/trizeps4.h> | 46 | #include <asm/arch/trizeps4.h> |
46 | #include <asm/arch/audio.h> | 47 | #include <asm/arch/audio.h> |
@@ -175,19 +176,10 @@ static struct platform_device uart_devices = { | |||
175 | .resource = NULL, | 176 | .resource = NULL, |
176 | }; | 177 | }; |
177 | 178 | ||
178 | /******************************************************************************************** | ||
179 | * PXA270 ac97 sound codec | ||
180 | ********************************************************************************************/ | ||
181 | static struct platform_device ac97_audio_device = { | ||
182 | .name = "pxa2xx-ac97", | ||
183 | .id = -1, | ||
184 | }; | ||
185 | |||
186 | static struct platform_device * trizeps4_devices[] __initdata = { | 179 | static struct platform_device * trizeps4_devices[] __initdata = { |
187 | &flash_device, | 180 | &flash_device, |
188 | &uart_devices, | 181 | &uart_devices, |
189 | &dm9000_device, | 182 | &dm9000_device, |
190 | &ac97_audio_device, | ||
191 | }; | 183 | }; |
192 | 184 | ||
193 | #ifdef CONFIG_MACH_TRIZEPS4_CONXS | 185 | #ifdef CONFIG_MACH_TRIZEPS4_CONXS |
@@ -438,6 +430,7 @@ static void __init trizeps4_init(void) | |||
438 | pxa_set_mci_info(&trizeps4_mci_platform_data); | 430 | pxa_set_mci_info(&trizeps4_mci_platform_data); |
439 | pxa_set_ficp_info(&trizeps4_ficp_platform_data); | 431 | pxa_set_ficp_info(&trizeps4_ficp_platform_data); |
440 | pxa_set_ohci_info(&trizeps4_ohci_platform_data); | 432 | pxa_set_ohci_info(&trizeps4_ohci_platform_data); |
433 | pxa_set_ac97_info(NULL); | ||
441 | } | 434 | } |
442 | 435 | ||
443 | static void __init trizeps4_map_io(void) | 436 | static void __init trizeps4_map_io(void) |
@@ -487,6 +480,7 @@ static void __init trizeps4_map_io(void) | |||
487 | ConXS_BCR = trizeps_conxs_bcr; | 480 | ConXS_BCR = trizeps_conxs_bcr; |
488 | #endif | 481 | #endif |
489 | 482 | ||
483 | #warning FIXME - accessing PM registers directly is deprecated | ||
490 | PWER = 0x00000002; | 484 | PWER = 0x00000002; |
491 | PFER = 0x00000000; | 485 | PFER = 0x00000000; |
492 | PRER = 0x00000002; | 486 | PRER = 0x00000002; |