diff options
author | Misael Lopez Cruz <x0052729@ti.com> | 2009-09-14 19:53:55 -0500 |
---|---|---|
committer | Margarita Olaya Cabrera <x0080101@ti.com> | 2009-11-06 10:47:16 -0600 |
commit | 1b5e77bbee200a3a046e07cc0dcd9d1235437f03 (patch) | |
tree | 4fe5133c0942e804ec24ba952cb26f6a6c45c2f0 /arch/arm/mach-omap2 | |
parent | b87e4113d8f6e6ac477dd4801d688f3e2007a398 (diff) |
ARM: OMAP4: TWL6030 codec platform data
TWL6030 requires codec_enable function to turn codec on/off
and naudint_irq to signal codec internal events.
Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Margarita Olaya <x0080101@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 9fa62b1b2486..edecaf87d058 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -461,6 +461,11 @@ static struct regulator_init_data sdp4430_vusb = { }, }; +static struct twl_codec_data twl6030_codec = { + .audpwron_gpio = 127, + .naudint_irq = INT_44XX_SYS_NIRQ2, +}; + static struct twl_platform_data sdp4430_twldata = { .irq_base = TWL6030_IRQ_BASE, .irq_end = TWL6030_IRQ_END, @@ -476,6 +481,9 @@ static struct twl_platform_data sdp4430_twldata = { .vaux1 = &sdp4430_vaux1, .vaux2 = &sdp4430_vaux2, .vaux3 = &sdp4430_vaux3, + + /* children */ + .codec = &twl6030_codec, }; #endif |