diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2009-10-22 06:26:46 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-11-22 13:09:07 -0500 |
commit | e86fa0b4a3fe0563e492db4c5a52fd37219a4c70 (patch) | |
tree | f7dbb1f1822f225b39678a8a0ddb1db6a03eb3a7 /arch/arm/mach-omap2/board-omap3evm.c | |
parent | 3066eec68d21cf4d468809c0b7b1fe9ee59c8f32 (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-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 522ff6288c6f..4761c4f8f480 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -194,6 +194,14 @@ static struct twl4030_madc_platform_data omap3evm_madc_data = { | |||
194 | .irq_line = 1, | 194 | .irq_line = 1, |
195 | }; | 195 | }; |
196 | 196 | ||
197 | static struct twl4030_codec_audio_data omap3evm_audio_data = { | ||
198 | .audio_mclk = 26000000, | ||
199 | }; | ||
200 | |||
201 | static struct twl4030_codec_data omap3evm_codec_data = { | ||
202 | .audio = &omap3evm_audio_data, | ||
203 | }; | ||
204 | |||
197 | static struct twl4030_platform_data omap3evm_twldata = { | 205 | static struct twl4030_platform_data omap3evm_twldata = { |
198 | .irq_base = TWL4030_IRQ_BASE, | 206 | .irq_base = TWL4030_IRQ_BASE, |
199 | .irq_end = TWL4030_IRQ_END, | 207 | .irq_end = TWL4030_IRQ_END, |
@@ -203,6 +211,7 @@ static struct twl4030_platform_data omap3evm_twldata = { | |||
203 | .madc = &omap3evm_madc_data, | 211 | .madc = &omap3evm_madc_data, |
204 | .usb = &omap3evm_usb_data, | 212 | .usb = &omap3evm_usb_data, |
205 | .gpio = &omap3evm_gpio_data, | 213 | .gpio = &omap3evm_gpio_data, |
214 | .codec = &omap3evm_codec_data, | ||
206 | }; | 215 | }; |
207 | 216 | ||
208 | static struct i2c_board_info __initdata omap3evm_i2c_boardinfo[] = { | 217 | static struct i2c_board_info __initdata omap3evm_i2c_boardinfo[] = { |