[PATCH] mini6410: add audio codec support
Paulius Zaleckas
paulius.zaleckas at gmail.com
Wed Nov 17 15:20:15 EST 2010
Signed-off-by: Paulius Zaleckas <paulius.zaleckas at gmail.com>
---
arch/arm/mach-s3c64xx/mach-mini6410.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b/arch/arm/mach-s3c64xx/mach-mini6410.c
index 249c629..dd37f6a 100644
--- a/arch/arm/mach-s3c64xx/mach-mini6410.c
+++ b/arch/arm/mach-s3c64xx/mach-mini6410.c
@@ -42,6 +42,7 @@
#include <plat/nand.h>
#include <plat/regs-serial.h>
#include <plat/ts.h>
+#include <plat/audio.h>
#include <video/platform_lcd.h>
@@ -221,6 +222,8 @@ static struct platform_device *mini6410_devices[] __initdata = {
&mini6410_lcd_powerdev,
&s3c_device_adc,
&s3c_device_ts,
+ &s3c_device_pcm,
+ &s3c64xx_device_ac97,
};
static void __init mini6410_map_io(void)
@@ -320,6 +323,7 @@ static void __init mini6410_machine_init(void)
s3c_nand_set_platdata(&mini6410_nand_info);
s3c_fb_set_platdata(&mini6410_lcd_pdata);
s3c24xx_ts_set_platdata(&s3c_ts_platform);
+ s3c64xx_ac97_setup_gpio(S3C64XX_AC97_GPD);
/* configure nCS1 width to 16 bits */
More information about the linux-arm-kernel
mailing list