Skip to contentSkip to conversation

real6410: add audio codec support

PATCH New Paulius Zaleckas 1 participant 1 message Nov 17, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 real6410: add audio codec support

---

 arch/arm/mach-s3c64xx/mach-real6410.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/mach-real6410.c +4 -0
index f9ef9b5..856b723 100644
@@ -43,6 +43,7 @@
 #include <plat/nand.h>
 #include <plat/regs-serial.h>
 #include <plat/ts.h>
+#include <plat/audio.h>
 
 #include <video/platform_lcd.h>
 
@@ -196,6 +197,8 @@ static struct platform_device *real6410_devices[] __initdata = {
 	&s3c_device_adc,
 	&s3c_device_ts,
 	&s3c_device_ohci,
+	&s3c_device_pcm,
+	&s3c64xx_device_ac97,
 };
 
 static struct s3c2410_ts_mach_info s3c_ts_platform __initdata = {
@@ -301,6 +304,7 @@ static void __init real6410_machine_init(void)
 	s3c_fb_set_platdata(&real6410_lcd_pdata);
 	s3c_nand_set_platdata(&real6410_nand_info);
 	s3c24xx_ts_set_platdata(&s3c_ts_platform);
+	s3c64xx_ac97_setup_gpio(S3C64XX_AC97_GPD);
 
 	/* configure nCS1 width to 16 bits */