Revert "ARM: tegra: roth: Disable USB3 registration"
Anshul Jain [Sat, 17 Nov 2012 20:32:38 +0000 (12:32 -0800)]
This reverts commit 944f1519cb814d00a6ac3d5bed5d1184007ab03a.

Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/164561
(cherry picked from commit f492938ad056430245232ca2c44812acee62682d)

Change-Id: Icd27d721add0b9240d3f0ada7aefb301c9f0f85c
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/166325
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

arch/arm/mach-tegra/board-roth.c

index 2901e47..afd5e72 100644 (file)
@@ -425,6 +425,31 @@ static struct tegra_usb_platform_data tegra_ehci1_utmi_pdata = {
        },
 };
 
+static struct tegra_usb_platform_data tegra_ehci3_utmi_pdata = {
+       .port_otg = false,
+       .has_hostpc = true,
+       .unaligned_dma_buf_supported = false,
+       .phy_intf = TEGRA_USB_PHY_INTF_UTMI,
+       .op_mode = TEGRA_USB_OPMODE_HOST,
+       .u_data.host = {
+               .vbus_gpio = -1,
+               .hot_plug = true,
+               .remote_wakeup_supported = true,
+               .power_off_on_suspend = true,
+       },
+       .u_cfg.utmi = {
+       .hssync_start_delay = 0,
+               .elastic_limit = 16,
+               .idle_wait_delay = 17,
+               .term_range_adj = 6,
+               .xcvr_setup = 8,
+               .xcvr_lsfslew = 2,
+               .xcvr_lsrslew = 2,
+               .xcvr_setup_offset = 0,
+               .xcvr_use_fuses = 1,
+       },
+};
+
 static struct tegra_usb_otg_data tegra_otg_pdata = {
        .ehci_device = &tegra_ehci1_device,
        .ehci_pdata = &tegra_ehci1_utmi_pdata,
@@ -437,6 +462,9 @@ static void roth_usb_init(void)
 
        /* Setup the udc platform data */
        tegra_udc_device.dev.platform_data = &tegra_udc_pdata;
+
+       tegra_ehci3_device.dev.platform_data = &tegra_ehci3_utmi_pdata;
+       platform_device_register(&tegra_ehci3_device);
 }
 
 #else