Skip to contentSkip to conversation

pxa/littleton: add support for audio (da9034)

PATCH In review Eric Miao 1 participant 1 message Jun 3, 2009

Subsystems (5)
lore
Share & tools
lore

Eric Miao

author
#0 lore raw

PATCH 4/4 pxa/littleton: add support for audio (da9034)

---
 arch/arm/mach-pxa/littleton.c |   20 +++++++++++++++++++-
 include/linux/mfd/da903x.h    |    1 +
 2 files changed, 20 insertions(+), 1 deletions(-)
arch/arm/mach-pxa/littleton.c +15 -0
index e13f6a8..b26b3cb 100644
@@ -81,6 +81,21 @@ static mfp_cfg_t littleton_mfp_cfg[] __initdata = {
 	GPIO27_SSP2_TXD,
 	GPIO17_GPIO,	/* SFRM as chip-select */
 
+	/* SSP3 */
+	GPIO91_SSP3_SCLK,
+	GPIO92_SSP3_FRM,
+	GPIO93_SSP3_TXD,
+	GPIO94_SSP3_RXD,
+	/* SSP3 NETWORK CLK */
+	GPIO126_EXT_CLK,
+
+	/* SSP4 */
+	GPIO95_SSP4_SCLK,
+	GPIO96_SSP4_FRM,
+	GPIO97_SSP4_TXD,
+	GPIO98_SSP4_RXD,
+
+
 	/* Debug Ethernet */
 	GPIO90_GPIO,
 
@@ -350,7 +365,10 @@ static struct da903x_subdev_info

littleton_da9034_subdevs[] = {
}, {
.name = "da903x-backlight",
.id = DA9034_ID_WLED,
- },
+ }, {
+ .name = "da9034-audio",
+ .id = DA9034_ID_AUDIO,
+ }
};

static struct da903x_platform_data littleton_da9034_info = {

include/linux/mfd/da903x.h +1 -0
index 115dbe9..ba645ff 100644
@@ -39,6 +39,7 @@ enum {
 	DA9034_ID_VIBRA,
 	DA9034_ID_WLED,
 	DA9034_ID_TOUCH,
+	DA9034_ID_AUDIO,
 
 	DA9034_ID_BUCK1,
 	DA9034_ID_BUCK2,
Signature · 1 line
1.6.0.4