diff options
Diffstat (limited to 'arch/arm/mach-pxa/trizeps4.c')
-rw-r--r-- | arch/arm/mach-pxa/trizeps4.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/arch/arm/mach-pxa/trizeps4.c b/arch/arm/mach-pxa/trizeps4.c index 931885d86b91..dee7bf36f013 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 |
@@ -262,6 +254,7 @@ static void board_irda_mode(struct device *dev, int mode) | |||
262 | /* Fast mode */ | 254 | /* Fast mode */ |
263 | trizeps_conxs_ircr |= ConXS_IRCR_MODE; | 255 | trizeps_conxs_ircr |= ConXS_IRCR_MODE; |
264 | } | 256 | } |
257 | pxa2xx_transceiver_mode(dev, mode); | ||
265 | if (mode & IR_OFF) { | 258 | if (mode & IR_OFF) { |
266 | trizeps_conxs_ircr |= ConXS_IRCR_SD; | 259 | trizeps_conxs_ircr |= ConXS_IRCR_SD; |
267 | } else { | 260 | } else { |
@@ -438,6 +431,7 @@ static void __init trizeps4_init(void) | |||
438 | pxa_set_mci_info(&trizeps4_mci_platform_data); | 431 | pxa_set_mci_info(&trizeps4_mci_platform_data); |
439 | pxa_set_ficp_info(&trizeps4_ficp_platform_data); | 432 | pxa_set_ficp_info(&trizeps4_ficp_platform_data); |
440 | pxa_set_ohci_info(&trizeps4_ohci_platform_data); | 433 | pxa_set_ohci_info(&trizeps4_ohci_platform_data); |
434 | pxa_set_ac97_info(NULL); | ||
441 | } | 435 | } |
442 | 436 | ||
443 | static void __init trizeps4_map_io(void) | 437 | static void __init trizeps4_map_io(void) |
@@ -487,6 +481,7 @@ static void __init trizeps4_map_io(void) | |||
487 | ConXS_BCR = trizeps_conxs_bcr; | 481 | ConXS_BCR = trizeps_conxs_bcr; |
488 | #endif | 482 | #endif |
489 | 483 | ||
484 | #warning FIXME - accessing PM registers directly is deprecated | ||
490 | PWER = 0x00000002; | 485 | PWER = 0x00000002; |
491 | PFER = 0x00000000; | 486 | PFER = 0x00000000; |
492 | PRER = 0x00000002; | 487 | PRER = 0x00000002; |