pxa/littleton: add support for audio (da9034)
Subsystems (5)
Arm (32-bit) Arm sub-architectures Multifunction devices (MFD) PXA2xx/PXA3xx support +1 more subsystems
PATCH 4/4 pxa/littleton: add support for audio (da9034)
Signed-off-by Paul Shen <[email protected]>
Signed-off-by Eric Miao <[email protected]>
--- 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
@@ -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
@@ -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