* [PATCH 4/4] mmp: enable sound in aspenite
@ 2010-03-10 13:16 Haojian Zhuang
2010-03-10 14:45 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Haojian Zhuang @ 2010-03-10 13:16 UTC (permalink / raw)
To: alsa-devel, linux-arm-kernel, Eric Miao, Mark Brown
>From 2fbfce5a3cd1c17b4a8ea00bcc9c8be85fe9977a Mon Sep 17 00:00:00 2001
From: Haojian Zhuang <haojian.zhuang@marvell.com>
Date: Wed, 10 Mar 2010 06:35:43 -0500
Subject: [PATCH] [ARM] mmp: enable sound in aspenite
Enable sound on aspenite. Hifi mode is supported.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
---
arch/arm/mach-mmp/aspenite.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index a2d307e..244655d 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch/arm/mach-mmp/aspenite.c
@@ -59,6 +59,13 @@ static unsigned long common_pin_config[] __initdata = {
/* UART1 */
GPIO107_UART1_RXD,
GPIO108_UART1_TXD,
+
+ /* SSP1 */
+ GPIO113_I2S_MCLK,
+ GPIO114_I2S_FRM,
+ GPIO115_I2S_BCLK,
+ GPIO116_I2S_RXD,
+ GPIO117_I2S_TXD,
};
static struct smc91x_platdata smc91x_info = {
@@ -123,12 +130,18 @@ static struct pxa3xx_nand_platform_data
aspenite_nand_info = {
.nr_parts = ARRAY_SIZE(aspenite_nand_partitions),
};
+static struct i2c_board_info aspenite_i2c_info[] __initdata = {
+ { I2C_BOARD_INFO("wm8753", 0x1b), },
+};
+
static void __init common_init(void)
{
mfp_config(ARRAY_AND_SIZE(common_pin_config));
/* on-chip devices */
pxa168_add_uart(1);
+ pxa168_add_twsi(1, NULL, ARRAY_AND_SIZE(aspenite_i2c_info));
+ pxa168_add_ssp(1);
pxa168_add_nand(&aspenite_nand_info);
/* off-chip devices */
--
1.5.6.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 4/4] mmp: enable sound in aspenite
2010-03-10 13:16 [PATCH 4/4] mmp: enable sound in aspenite Haojian Zhuang
@ 2010-03-10 14:45 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2010-03-10 14:45 UTC (permalink / raw)
To: Haojian Zhuang; +Cc: alsa-devel, Eric Miao, linux-arm-kernel
On Wed, Mar 10, 2010 at 08:16:23AM -0500, Haojian Zhuang wrote:
> From 2fbfce5a3cd1c17b4a8ea00bcc9c8be85fe9977a Mon Sep 17 00:00:00 2001
> From: Haojian Zhuang <haojian.zhuang@marvell.com>
> Date: Wed, 10 Mar 2010 06:35:43 -0500
> Subject: [PATCH] [ARM] mmp: enable sound in aspenite
>
> Enable sound on aspenite. Hifi mode is supported.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Again, might be best to merge this via ASoC as well as/instead of ARM.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-10 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 13:16 [PATCH 4/4] mmp: enable sound in aspenite Haojian Zhuang
2010-03-10 14:45 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).