aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-overo.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2009-10-22 06:26:46 -0400
committerTony Lindgren <tony@atomide.com>2009-11-22 13:09:07 -0500
commite86fa0b4a3fe0563e492db4c5a52fd37219a4c70 (patch)
treef7dbb1f1822f225b39678a8a0ddb1db6a03eb3a7 /arch/arm/mach-omap2/board-overo.c
parent3066eec68d21cf4d468809c0b7b1fe9ee59c8f32 (diff)
OMAP: Platform support for twl4030_codec MFD
Add needed platform data for the twl4030_codec MFD on boards, where the audio part of the twl4030 codec is used. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r--arch/arm/mach-omap2/board-overo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 461522c1bced..7303b4165e31 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -329,6 +329,14 @@ static struct regulator_init_data overo_vmmc1 = {
329 .consumer_supplies = &overo_vmmc1_supply, 329 .consumer_supplies = &overo_vmmc1_supply,
330}; 330};
331 331
332static struct twl4030_codec_audio_data overo_audio_data = {
333 .audio_mclk = 26000000,
334};
335
336static struct twl4030_codec_data overo_codec_data = {
337 .audio = &overo_audio_data,
338};
339
332/* mmc2 (WLAN) and Bluetooth don't use twl4030 regulators */ 340/* mmc2 (WLAN) and Bluetooth don't use twl4030 regulators */
333 341
334static struct twl4030_platform_data overo_twldata = { 342static struct twl4030_platform_data overo_twldata = {
@@ -336,6 +344,7 @@ static struct twl4030_platform_data overo_twldata = {
336 .irq_end = TWL4030_IRQ_END, 344 .irq_end = TWL4030_IRQ_END,
337 .gpio = &overo_gpio_data, 345 .gpio = &overo_gpio_data,
338 .usb = &overo_usb_data, 346 .usb = &overo_usb_data,
347 .codec = &overo_codec_data,
339 .vmmc1 = &overo_vmmc1, 348 .vmmc1 = &overo_vmmc1,
340}; 349};
341 350