mirror of https://gitee.com/openkylin/linux.git
arm: omap: usb: Invoke usbhs core device initialization
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>
This commit is contained in:
parent
2236396d4d
commit
9e64bb1e9f
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue