aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>2010-02-17 17:09:25 -0500
committerTony Lindgren <tony@atomide.com>2010-02-17 20:23:20 -0500
commit7f5f23da82c67c8c3786f3615438a22f5d8ac053 (patch)
tree3c96c502bb534fe7e15439b018336a151e1c627b /arch/arm/mach-omap2
parent3cca088d07aae6c437b9f4c3b4f3c42dbfd2bb18 (diff)
omap3: Add platform data for the twl4030_codec MFD on IGEP v2
Add platform data for the twl4030_codec MFD on IGEP v2 Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-igep0020.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index adc1b46fa04e..71488b2b6981 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -173,12 +173,22 @@ static void __init igep2_init_irq(void)
173 omap_gpio_init(); 173 omap_gpio_init();
174} 174}
175 175
176static struct twl4030_codec_audio_data igep2_audio_data = {
177 .audio_mclk = 26000000,
178};
179
180static struct twl4030_codec_data igep2_codec_data = {
181 .audio_mclk = 26000000,
182 .audio = &igep2_audio_data,
183};
184
176static struct twl4030_platform_data igep2_twldata = { 185static struct twl4030_platform_data igep2_twldata = {
177 .irq_base = TWL4030_IRQ_BASE, 186 .irq_base = TWL4030_IRQ_BASE,
178 .irq_end = TWL4030_IRQ_END, 187 .irq_end = TWL4030_IRQ_END,
179 188
180 /* platform_data for children goes here */ 189 /* platform_data for children goes here */
181 .usb = &igep2_usb_data, 190 .usb = &igep2_usb_data,
191 .codec = &igep2_codec_data,
182 .gpio = &igep2_gpio_data, 192 .gpio = &igep2_gpio_data,
183 .vmmc1 = &igep2_vmmc1, 193 .vmmc1 = &igep2_vmmc1,
184 194