diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 1bf2f39b9d0e..776b44412db1 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -433,10 +433,6 @@ static struct twl4030_gpio_platform_data overo_gpio_data = { | |||
433 | .setup = overo_twl_gpio_setup, | 433 | .setup = overo_twl_gpio_setup, |
434 | }; | 434 | }; |
435 | 435 | ||
436 | static struct twl4030_usb_data overo_usb_data = { | ||
437 | .usb_mode = T2_USB_MODE_ULPI, | ||
438 | }; | ||
439 | |||
440 | static struct regulator_init_data overo_vmmc1 = { | 436 | static struct regulator_init_data overo_vmmc1 = { |
441 | .constraints = { | 437 | .constraints = { |
442 | .min_uV = 1850000, | 438 | .min_uV = 1850000, |
@@ -480,19 +476,8 @@ static struct regulator_init_data overo_vpll2 = { | |||
480 | .consumer_supplies = overo_vdds_dsi_supply, | 476 | .consumer_supplies = overo_vdds_dsi_supply, |
481 | }; | 477 | }; |
482 | 478 | ||
483 | static struct twl4030_codec_audio_data overo_audio_data; | ||
484 | |||
485 | static struct twl4030_codec_data overo_codec_data = { | ||
486 | .audio_mclk = 26000000, | ||
487 | .audio = &overo_audio_data, | ||
488 | }; | ||
489 | |||
490 | static struct twl4030_platform_data overo_twldata = { | 479 | static struct twl4030_platform_data overo_twldata = { |
491 | .irq_base = TWL4030_IRQ_BASE, | ||
492 | .irq_end = TWL4030_IRQ_END, | ||
493 | .gpio = &overo_gpio_data, | 480 | .gpio = &overo_gpio_data, |
494 | .usb = &overo_usb_data, | ||
495 | .codec = &overo_codec_data, | ||
496 | .vmmc1 = &overo_vmmc1, | 481 | .vmmc1 = &overo_vmmc1, |
497 | .vdac = &overo_vdac, | 482 | .vdac = &overo_vdac, |
498 | .vpll2 = &overo_vpll2, | 483 | .vpll2 = &overo_vpll2, |
@@ -500,6 +485,8 @@ static struct twl4030_platform_data overo_twldata = { | |||
500 | 485 | ||
501 | static int __init overo_i2c_init(void) | 486 | static int __init overo_i2c_init(void) |
502 | { | 487 | { |
488 | omap3_pmic_get_config(&overo_twldata, | ||
489 | TWL_COMMON_PDATA_USB | TWL_COMMON_PDATA_AUDIO, 0); | ||
503 | omap3_pmic_init("tps65950", &overo_twldata); | 490 | omap3_pmic_init("tps65950", &overo_twldata); |
504 | /* i2c2 pins are used for gpio */ | 491 | /* i2c2 pins are used for gpio */ |
505 | omap_register_i2c_bus(3, 400, NULL, 0); | 492 | omap_register_i2c_bus(3, 400, NULL, 0); |