From: Christian Pellegrin <chripell@gmail.com>
To: alsa-devel@alsa-project.org
Cc: linux-arm-kernel@lists.arm.linux.org.uk,
Christian Pellegrin <chripell@fsfe.org>
Subject: [PATCH RESEND 3/3] ALSA SOC driver for s3c24xx with uda134x
Date: Sat, 15 Nov 2008 08:58:48 +0100 [thread overview]
Message-ID: <12267359281701-git-send-email-chripell@gmail.com> (raw)
Adds audio support for SMDK2410
Signed-off-by: Christian Pellegrin <chripell@fsfe.org>
---
arch/arm/mach-s3c2410/mach-smdk2410.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
--
Generated on 20081115 against f7e1798a78a30bae1cf3ebc3e1b6f7c1bac57756..5b7f05e9b57e7e442b1054cbb4423cf9909fb204
--
diff --git a/arch/arm/mach-s3c2410/mach-smdk2410.c b/arch/arm/mach-s3c2410/mach-smdk2410.c
index 152527b..0001d52 100644
--- a/arch/arm/mach-s3c2410/mach-smdk2410.c
+++ b/arch/arm/mach-s3c2410/mach-smdk2410.c
@@ -43,6 +43,7 @@
#include <asm/mach/irq.h>
#include <mach/hardware.h>
+#include <mach/regs-gpio.h>
#include <asm/irq.h>
#include <asm/mach-types.h>
@@ -53,6 +54,8 @@
#include <plat/common-smdk.h>
+#include <sound/s3c24xx_uda134x.h>
+
static struct map_desc smdk2410_iodesc[] __initdata = {
/* nothing here yet */
};
@@ -85,12 +88,27 @@ static struct s3c2410_uartcfg smdk2410_uartcfgs[] __initdata = {
}
};
+static struct s3c24xx_uda134x_platform_data s3c24xx_uda134x_data = {
+ .l3_clk = S3C2410_GPB4,
+ .l3_data = S3C2410_GPB3,
+ .l3_mode = S3C2410_GPB2,
+ .model = UDA134X_UDA1341,
+};
+
+static struct platform_device s3c24xx_uda134x = {
+ .name = "s3c24xx_uda134x",
+ .dev = {
+ .platform_data = &s3c24xx_uda134x_data,
+ }
+};
+
static struct platform_device *smdk2410_devices[] __initdata = {
&s3c_device_usb,
&s3c_device_lcd,
&s3c_device_wdt,
&s3c_device_i2c,
&s3c_device_iis,
+ &s3c24xx_uda134x,
};
static void __init smdk2410_map_io(void)
--
1.4.4.4
next reply other threads:[~2008-11-15 7:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-15 7:58 Christian Pellegrin [this message]
2008-11-17 11:38 ` [PATCH RESEND 3/3] ALSA SOC driver for s3c24xx with uda134x Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12267359281701-git-send-email-chripell@gmail.com \
--to=chripell@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=chripell@fsfe.org \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.