arm: omap: usb: Invoke usbhs core device initialization
authorKeshava Munegowda <keshava_mgowda@ti.com>
Tue, 1 Mar 2011 14:38:19 +0000 (20:08 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Mar 2011 15:02:34 +0000 (17:02 +0200)
The usbhs intialization is invoked by all omap3 and omap4
variant board files.

Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
18 files changed:
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-3630sdp.c
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-am3517crane.c
arch/arm/mach-omap2/board-am3517evm.c
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-cm-t3517.c
arch/arm/mach-omap2/board-devkit8000.c
arch/arm/mach-omap2/board-igep0020.c
arch/arm/mach-omap2/board-igep0030.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3evm.c
arch/arm/mach-omap2/board-omap3pandora.c
arch/arm/mach-omap2/board-omap3stalker.c
arch/arm/mach-omap2/board-omap3touchbook.c
arch/arm/mach-omap2/board-omap4panda.c
arch/arm/mach-omap2/board-overo.c
arch/arm/mach-omap2/board-zoom.c

index a991aeb5609114c05a05aa63ccf956cbfcefd0ca..7542ba59f2b889dfdff860898fc8bf0b866e598b 100644 (file)
@@ -816,7 +816,7 @@ static void __init omap_3430sdp_init(void)
        board_flash_init(sdp_flash_partitions, chip_sel_3430);
        sdp3430_display_init();
        enable_board_wakeup_source();
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
 }
 
 MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board")
index 03fd8aca3cc8d721f299df39e01dbe5406838783..deed2db32c53bce8834197cec8edcf7eb0d9851d 100644 (file)
@@ -211,7 +211,7 @@ static void __init omap_sdp_init(void)
        board_smc91x_init();
        board_flash_init(sdp_flash_partitions, chip_sel_sdp);
        enable_board_wakeup_source();
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
 }
 
 MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board")
index 0e1609d3fa85adabd77a857186cafa043028cc2b..1230121960d68bd67ebbd9490fdfc7439efd2821 100644 (file)
@@ -584,7 +584,7 @@ static void __init omap_4430sdp_init(void)
        else
                gpio_direction_output(OMAP4SDP_MDM_PWR_EN_GPIO, 1);
 
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        usb_musb_init(&musb_board_data);
 
        status = omap_ethernet_init();
index 1b825a00c5b09a97d13accd4776e6d7e7e323a5c..e3a194f6b13f42e8b244b5b79c6f76e53826d403 100644 (file)
@@ -103,7 +103,7 @@ static void __init am3517_crane_init(void)
                return;
        }
 
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
 }
 
 MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD")
index f5bc1c6ccf5eb48609d1f9a3f1c021046d9ad222..913538ad17d8261afb324aed5ba178ae512db2c0 100644 (file)
@@ -502,7 +502,7 @@ static void __init am3517_evm_init(void)
 
        /* Configure GPIO for EHCI port */
        omap_mux_init_gpio(57, OMAP_PIN_OUTPUT);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        am3517_evm_hecc_init(&am3517_evm_hecc_pdata);
        /* DSS */
        am3517_evm_display_init();
index c79aa9be72f76208f66b277beb596e38febbc196..9be7289cbb56f2461a806c6f29fc37c430c6fe81 100644 (file)
@@ -810,7 +810,7 @@ static void __init cm_t35_init(void)
        cm_t35_init_display();
 
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
 }
 
 MACHINE_START(CM_T35, "Compulab CM-T35")
index 8288a0b9159e7893c3d718c20d28fa1b8a68e5ca..8e18dc76b11e8b3682182ce062743cbc6d3982ee 100644 (file)
@@ -192,7 +192,7 @@ static int cm_t3517_init_usbh(void)
                msleep(1);
        }
 
-       usb_ehci_init(&cm_t3517_ehci_pdata);
+       usbhs_init(&cm_t3517_ehci_pdata);
 
        return 0;
 }
index e0131dda57922a5db029e264d92477ca02ce10e3..bc0141b98694da2ca108d42df50413818082e6a6 100644 (file)
@@ -803,7 +803,7 @@ static void __init devkit8000_init(void)
        devkit8000_ads7846_init();
 
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        devkit8000_flash_init();
 
        /* Ensure SDRC pins are mux'd for self-refresh */
index a9d7d1dc63ab2746624f5804d63aea8a46933b8f..f9f53441931125e2ef54994ba4b781dc332d131d 100644 (file)
@@ -699,7 +699,7 @@ static void __init igep2_init(void)
        platform_add_devices(igep2_devices, ARRAY_SIZE(igep2_devices));
        omap_serial_init();
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
 
        igep2_flash_init();
        igep2_leds_init();
index 1b441eafdba7a0664f98d681ba0ce0233c681861..579fc2d2525fb2521d1d4ae81329adbf53d232d9 100644 (file)
@@ -435,7 +435,7 @@ static void __init igep3_init(void)
        platform_add_devices(igep3_devices, ARRAY_SIZE(igep3_devices));
        omap_serial_init();
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
 
        igep3_flash_init();
        igep3_leds_init();
index b84a6418ec1e646fc989240ea2aa495178bdaa2e..f0963b6e4627ba79308751bf96224c9a0977b7f9 100644 (file)
@@ -625,7 +625,7 @@ static void __init omap3_beagle_init(void)
        gpio_direction_output(170, true);
 
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        omap3beagle_flash_init();
 
        /* Ensure SDRC pins are mux'd for self-refresh */
index ed5e4118147dc3eca89c9a804968d3f8dab84513..38a2d91790c06d9b6a56b83670d6c14911a36d11 100644 (file)
@@ -711,7 +711,7 @@ static void __init omap3_evm_init(void)
                usbhs_bdata.reset_gpio_port[1] = 135;
        }
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        ads7846_dev_init();
        omap3evm_init_smsc911x();
        omap3_evm_display_init();
index 241e632a4662ef0c647c3ff69245f12059b4eeba..aa05f2e46a6109c202f57dee77027f3d928dfb5d 100644 (file)
@@ -716,7 +716,7 @@ static void __init omap3pandora_init(void)
        spi_register_board_info(omap3pandora_spi_board_info,
                        ARRAY_SIZE(omap3pandora_spi_board_info));
        omap3pandora_ads7846_init();
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        usb_musb_init(&musb_board_data);
        gpmc_nand_init(&pandora_nand_data);
 
index eaad924b62443f8d8edb7263fcb9b05a05ec2471..f6c87787cd4fe0be557cfbafb62b1e8cd2525a9c 100644 (file)
@@ -649,7 +649,7 @@ static void __init omap3_stalker_init(void)
 
        omap_serial_init();
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        ads7846_dev_init();
 
        omap_mux_init_gpio(21, OMAP_PIN_OUTPUT);
index 4e3a1ae2ac96fd1bff4d4800152a2b3ce97b4fd2..84cfddb19a741143ac0bf34565a6053d5dc4d938 100644 (file)
@@ -527,7 +527,7 @@ static void __init omap3_touchbook_init(void)
                                ARRAY_SIZE(omap3_ads7846_spi_board_info));
        omap3_ads7846_init();
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        omap3touchbook_flash_init();
 
        /* Ensure SDRC pins are mux'd for self-refresh */
index b88c1909434a24a9a408bbc7201ea0ddf5f58df3..ed61c1f5d5e663ae82c607ec24b3d7a0954f9819 100644 (file)
@@ -128,7 +128,7 @@ static void __init omap4_ehci_init(void)
        gpio_set_value(GPIO_HUB_NRESET, 0);
        gpio_set_value(GPIO_HUB_NRESET, 1);
 
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
 
        /* enable power to hub */
        gpio_set_value(GPIO_HUB_POWER, 1);
index f78b74c369df76638f47bb476de0bec434dadcbc..08770ccec0f347cc23f96039e6b46eac8a37f029 100644 (file)
@@ -454,7 +454,7 @@ static void __init overo_init(void)
        omap_serial_init();
        overo_flash_init();
        usb_musb_init(&musb_board_data);
-       usb_ehci_init(&usbhs_bdata);
+       usbhs_init(&usbhs_bdata);
        overo_ads7846_init();
        overo_init_smsc911x();
 
index 19b99128df766f3bca674da0bbf5666d4a3d0923..1dd195afa39644c4e6608185f673ecef1c522c7d 100644 (file)
@@ -123,7 +123,7 @@ static void __init omap_zoom_init(void)
        } else if (machine_is_omap_zoom3()) {
                omap3_mux_init(board_mux, OMAP_PACKAGE_CBP);
                omap_mux_init_gpio(ZOOM3_EHCI_RESET_GPIO, OMAP_PIN_OUTPUT);
-               usb_ehci_init(&usbhs_bdata);
+               usbhs_init(&usbhs_bdata);
        }
 
        board_nand_init(zoom_nand_partitions,