diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2009-09-18 11:14:21 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-21 11:03:01 -0400 |
commit | 439a33074c7d0895dd1e13ac354b8b4505d3ea43 (patch) | |
tree | e1c251dbdfd7c81abf03b8eb4ecca2ba369c4973 /arch/arm/mach-at91/board-sam9rlek.c | |
parent | 378ac65e6c6779c526c9016cafb61d84ff9cbecd (diff) |
ARM: 5710/1: at91: add AC97 support to at91sam9rl and at91sam9rlek board
Add the support of AC97 on the at91sam9rl chip and -ek board.
It will share the code with AVR32 ac97c alsa driver "atmel_ac97c".
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/board-sam9rlek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index 9d07679efce7..cde056570a44 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
@@ -211,6 +211,14 @@ static struct atmel_lcdfb_info __initdata ek_lcdc_data; | |||
211 | 211 | ||
212 | 212 | ||
213 | /* | 213 | /* |
214 | * AC97 | ||
215 | * reset_pin is not connected: NRST | ||
216 | */ | ||
217 | static struct ac97c_platform_data ek_ac97_data = { | ||
218 | }; | ||
219 | |||
220 | |||
221 | /* | ||
214 | * LEDs | 222 | * LEDs |
215 | */ | 223 | */ |
216 | static struct gpio_led ek_leds[] = { | 224 | static struct gpio_led ek_leds[] = { |
@@ -299,6 +307,8 @@ static void __init ek_board_init(void) | |||
299 | at91_add_device_mmc(0, &ek_mmc_data); | 307 | at91_add_device_mmc(0, &ek_mmc_data); |
300 | /* LCD Controller */ | 308 | /* LCD Controller */ |
301 | at91_add_device_lcdc(&ek_lcdc_data); | 309 | at91_add_device_lcdc(&ek_lcdc_data); |
310 | /* AC97 */ | ||
311 | at91_add_device_ac97(&ek_ac97_data); | ||
302 | /* Touch Screen Controller */ | 312 | /* Touch Screen Controller */ |
303 | at91_add_device_tsadcc(); | 313 | at91_add_device_tsadcc(); |
304 | /* LEDs */ | 314 | /* LEDs */ |