diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/configs/colibri_t20_defconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-colibri_t20.c | 16 |
2 files changed, 10 insertions, 9 deletions
diff --git a/arch/arm/configs/colibri_t20_defconfig b/arch/arm/configs/colibri_t20_defconfig index 2332b4644654..f5f818a256a2 100644 --- a/arch/arm/configs/colibri_t20_defconfig +++ b/arch/arm/configs/colibri_t20_defconfig @@ -257,8 +257,7 @@ CONFIG_USB_SERIAL_PL2303=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_VBUS_DRAW=500 CONFIG_USB_FSL_USB2=y -#CONFIG_USB_ETH=y -CONFIG_USB_MASS_STORAGE=m +CONFIG_USB_ETH=y CONFIG_USB_COLIBRI_OTG=y CONFIG_MMC=y CONFIG_MMC_UNSAFE_RESUME=y diff --git a/arch/arm/mach-tegra/board-colibri_t20.c b/arch/arm/mach-tegra/board-colibri_t20.c index 9f7a2c66303a..942e9bbdb91c 100644 --- a/arch/arm/mach-tegra/board-colibri_t20.c +++ b/arch/arm/mach-tegra/board-colibri_t20.c @@ -667,7 +667,6 @@ static struct usb_phy_plat_data tegra_usb_phy_pdata[] = { [1] = { .instance = 1, .vbus_gpio = -1, -// .vbus_gpio = TEGRA_GPIO_PBB1, /* ETHERNET_VBUS_GPIO */ }, [2] = { .instance = 2, @@ -678,21 +677,24 @@ static struct usb_phy_plat_data tegra_usb_phy_pdata[] = { static struct tegra_ehci_platform_data tegra_ehci_pdata[] = { [0] = { + .default_enable = true, + .operating_mode = TEGRA_USB_HOST, .phy_config = &utmi_phy_config[0], - .operating_mode = TEGRA_USB_OTG, .power_down_on_bus_suspend = 0, /* otherwise might prevent enumeration */ }, [1] = { - .phy_config = &colibri_t20_ehci2_ulpi_phy_config, + .default_enable = true, .operating_mode = TEGRA_USB_HOST, - .power_down_on_bus_suspend = 1, + .phy_config = &colibri_t20_ehci2_ulpi_phy_config, .phy_type = TEGRA_USB_PHY_TYPE_LINK_ULPI, + .power_down_on_bus_suspend = 1, }, [2] = { - .phy_config = &utmi_phy_config[1], + .default_enable = true, + .hotplug = 1, .operating_mode = TEGRA_USB_HOST, + .phy_config = &utmi_phy_config[1], .power_down_on_bus_suspend = 0, /* otherwise might prevent enumeration */ - .hotplug = 1, }, }; @@ -733,7 +735,7 @@ static struct platform_device *tegra_usb_otg_host_register(void) error_add: kfree(platform_data); error: - pr_err("%s: failed to add the host contoller device\n", __func__); + pr_err("%s: failed to add the host controller device\n", __func__); platform_device_put(pdev); return NULL; } |