diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index f9f534419311..d3199b4ecdb6 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -250,7 +250,7 @@ static inline void __init igep2_init_smsc911x(void) { } | |||
250 | #endif | 250 | #endif |
251 | 251 | ||
252 | static struct regulator_consumer_supply igep2_vmmc1_supply = | 252 | static struct regulator_consumer_supply igep2_vmmc1_supply = |
253 | REGULATOR_SUPPLY("vmmc", "mmci-omap-hs.0"); | 253 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"); |
254 | 254 | ||
255 | /* VMMC1 for OMAP VDD_MMC1 (i/o) and MMC1 card */ | 255 | /* VMMC1 for OMAP VDD_MMC1 (i/o) and MMC1 card */ |
256 | static struct regulator_init_data igep2_vmmc1 = { | 256 | static struct regulator_init_data igep2_vmmc1 = { |
@@ -268,7 +268,7 @@ static struct regulator_init_data igep2_vmmc1 = { | |||
268 | }; | 268 | }; |
269 | 269 | ||
270 | static struct regulator_consumer_supply igep2_vio_supply = | 270 | static struct regulator_consumer_supply igep2_vio_supply = |
271 | REGULATOR_SUPPLY("vmmc_aux", "mmci-omap-hs.1"); | 271 | REGULATOR_SUPPLY("vmmc_aux", "omap_hsmmc.1"); |
272 | 272 | ||
273 | static struct regulator_init_data igep2_vio = { | 273 | static struct regulator_init_data igep2_vio = { |
274 | .constraints = { | 274 | .constraints = { |
@@ -286,7 +286,7 @@ static struct regulator_init_data igep2_vio = { | |||
286 | }; | 286 | }; |
287 | 287 | ||
288 | static struct regulator_consumer_supply igep2_vmmc2_supply = | 288 | static struct regulator_consumer_supply igep2_vmmc2_supply = |
289 | REGULATOR_SUPPLY("vmmc", "mmci-omap-hs.1"); | 289 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1"); |
290 | 290 | ||
291 | static struct regulator_init_data igep2_vmmc2 = { | 291 | static struct regulator_init_data igep2_vmmc2 = { |
292 | .constraints = { | 292 | .constraints = { |
@@ -485,18 +485,8 @@ static struct omap_dss_board_info igep2_dss_data = { | |||
485 | .default_device = &igep2_dvi_device, | 485 | .default_device = &igep2_dvi_device, |
486 | }; | 486 | }; |
487 | 487 | ||
488 | static struct platform_device igep2_dss_device = { | 488 | static struct regulator_consumer_supply igep2_vpll2_supply = |
489 | .name = "omapdss", | 489 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"); |
490 | .id = -1, | ||
491 | .dev = { | ||
492 | .platform_data = &igep2_dss_data, | ||
493 | }, | ||
494 | }; | ||
495 | |||
496 | static struct regulator_consumer_supply igep2_vpll2_supply = { | ||
497 | .supply = "vdds_dsi", | ||
498 | .dev = &igep2_dss_device.dev, | ||
499 | }; | ||
500 | 490 | ||
501 | static struct regulator_init_data igep2_vpll2 = { | 491 | static struct regulator_init_data igep2_vpll2 = { |
502 | .constraints = { | 492 | .constraints = { |
@@ -521,21 +511,17 @@ static void __init igep2_display_init(void) | |||
521 | } | 511 | } |
522 | 512 | ||
523 | static struct platform_device *igep2_devices[] __initdata = { | 513 | static struct platform_device *igep2_devices[] __initdata = { |
524 | &igep2_dss_device, | ||
525 | &igep2_vwlan_device, | 514 | &igep2_vwlan_device, |
526 | }; | 515 | }; |
527 | 516 | ||
528 | static void __init igep2_init_irq(void) | 517 | static void __init igep2_init_early(void) |
529 | { | 518 | { |
530 | omap2_init_common_infrastructure(); | 519 | omap2_init_common_infrastructure(); |
531 | omap2_init_common_devices(m65kxxxxam_sdrc_params, | 520 | omap2_init_common_devices(m65kxxxxam_sdrc_params, |
532 | m65kxxxxam_sdrc_params); | 521 | m65kxxxxam_sdrc_params); |
533 | omap_init_irq(); | ||
534 | } | 522 | } |
535 | 523 | ||
536 | static struct twl4030_codec_audio_data igep2_audio_data = { | 524 | static struct twl4030_codec_audio_data igep2_audio_data; |
537 | .audio_mclk = 26000000, | ||
538 | }; | ||
539 | 525 | ||
540 | static struct twl4030_codec_data igep2_codec_data = { | 526 | static struct twl4030_codec_data igep2_codec_data = { |
541 | .audio_mclk = 26000000, | 527 | .audio_mclk = 26000000, |
@@ -697,6 +683,7 @@ static void __init igep2_init(void) | |||
697 | /* Register I2C busses and drivers */ | 683 | /* Register I2C busses and drivers */ |
698 | igep2_i2c_init(); | 684 | igep2_i2c_init(); |
699 | platform_add_devices(igep2_devices, ARRAY_SIZE(igep2_devices)); | 685 | platform_add_devices(igep2_devices, ARRAY_SIZE(igep2_devices)); |
686 | omap_display_init(&igep2_dss_data); | ||
700 | omap_serial_init(); | 687 | omap_serial_init(); |
701 | usb_musb_init(&musb_board_data); | 688 | usb_musb_init(&musb_board_data); |
702 | usbhs_init(&usbhs_bdata); | 689 | usbhs_init(&usbhs_bdata); |
@@ -716,9 +703,10 @@ static void __init igep2_init(void) | |||
716 | 703 | ||
717 | MACHINE_START(IGEP0020, "IGEP v2 board") | 704 | MACHINE_START(IGEP0020, "IGEP v2 board") |
718 | .boot_params = 0x80000100, | 705 | .boot_params = 0x80000100, |
719 | .map_io = omap3_map_io, | ||
720 | .reserve = omap_reserve, | 706 | .reserve = omap_reserve, |
721 | .init_irq = igep2_init_irq, | 707 | .map_io = omap3_map_io, |
708 | .init_early = igep2_init_early, | ||
709 | .init_irq = omap_init_irq, | ||
722 | .init_machine = igep2_init, | 710 | .init_machine = igep2_init, |
723 | .timer = &omap_timer, | 711 | .timer = &omap_timer, |
724 | MACHINE_END | 712 | MACHINE_END |