From 378ac65e6c6779c526c9016cafb61d84ff9cbecd Mon Sep 17 00:00:00 2001 From: Nicolas Ferre Date: Fri, 18 Sep 2009 16:14:22 +0100 Subject: ARM: 5709/1: at91: add AC97 support to at91sam9g45 series and at91sam9m10g45ek board Add the support of AC97 on the at91sam9g45 chip series and -ek board. It will share the code with AVR32 ac97c alsa driver "atmel_ac97c". Signed-off-by: Nicolas Ferre Acked-by: Andrew Victor Signed-off-by: Russell King --- arch/arm/mach-at91/board-sam9m10g45ek.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/arm/mach-at91/board-sam9m10g45ek.c') diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c index b8558eae522..64c3843f323 100644 --- a/arch/arm/mach-at91/board-sam9m10g45ek.c +++ b/arch/arm/mach-at91/board-sam9m10g45ek.c @@ -310,6 +310,14 @@ static void __init ek_add_device_buttons(void) {} #endif +/* + * AC97 + * reset_pin is not connected: NRST + */ +static struct ac97c_platform_data ek_ac97_data = { +}; + + /* * LEDs ... these could all be PWM-driven, for variable brightness */ @@ -372,6 +380,8 @@ static void __init ek_board_init(void) at91_add_device_lcdc(&ek_lcdc_data); /* Push Buttons */ ek_add_device_buttons(); + /* AC97 */ + at91_add_device_ac97(&ek_ac97_data); /* LEDs */ at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); at91_pwm_leds(ek_pwm_led, ARRAY_SIZE(ek_pwm_led)); -- cgit v1.2.3