aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3beagle.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-omap3beagle.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-omap3beagle.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 76c727ed8da5..23bfd333066f 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -254,6 +254,14 @@ static struct twl4030_usb_data beagle_usb_data = {
254 .usb_mode = T2_USB_MODE_ULPI, 254 .usb_mode = T2_USB_MODE_ULPI,
255}; 255};
256 256
257static struct twl4030_codec_audio_data beagle_audio_data = {
258 .audio_mclk = 26000000,
259};
260
261static struct twl4030_codec_data beagle_codec_data = {
262 .audio = &beagle_audio_data,
263};
264
257static struct twl4030_platform_data beagle_twldata = { 265static struct twl4030_platform_data beagle_twldata = {
258 .irq_base = TWL4030_IRQ_BASE, 266 .irq_base = TWL4030_IRQ_BASE,
259 .irq_end = TWL4030_IRQ_END, 267 .irq_end = TWL4030_IRQ_END,
@@ -261,6 +269,7 @@ static struct twl4030_platform_data beagle_twldata = {
261 /* platform_data for children goes here */ 269 /* platform_data for children goes here */
262 .usb = &beagle_usb_data, 270 .usb = &beagle_usb_data,
263 .gpio = &beagle_gpio_data, 271 .gpio = &beagle_gpio_data,
272 .codec = &beagle_codec_data,
264 .vmmc1 = &beagle_vmmc1, 273 .vmmc1 = &beagle_vmmc1,
265 .vsim = &beagle_vsim, 274 .vsim = &beagle_vsim,
266 .vdac = &beagle_vdac, 275 .vdac = &beagle_vdac,