diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2010-06-10 10:18:29 +0530 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-06-10 08:43:20 -0700 |
commit | af2b1966f7042babc783e606685e76dc0650851d (patch) | |
tree | eae29900357e491b871dc58d7247297b72270c3b /arch | |
parent | 55fe7ac68a797626d8a981656525149ed378025d (diff) |
tegra usb: Resume the device without re-enumeration
When fast wakeup feature is supported by a host controller port,
then avoid the restarting of controller. Fast wakeup is enabled
on the port where device like usb modem is connected always.
BUG 692574: Fast Wakeup for USB modems
BUG 594395: Fast Wakeup
Change-Id: Iaee9f184189f8a1aa8aa0e440879600c0eb625cc
Reviewed-on: http://git-master/r/2375
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-nvodm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-tegra/include/mach/usb-hcd.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-nvodm.c b/arch/arm/mach-tegra/board-nvodm.c index 05976eaa1d65..5b8d91fa413a 100644 --- a/arch/arm/mach-tegra/board-nvodm.c +++ b/arch/arm/mach-tegra/board-nvodm.c @@ -639,6 +639,8 @@ static void __init tegra_setup_hcd(void) } else if (p->IdPinDetectionType == NvOdmUsbIdPinType_CableId) { plat->id_detect = ID_PIN_CABLE_ID; } + plat->fast_wakeup = + (p->UsbInterfaceType == NvOdmUsbInterfaceType_UlpiExternalPhy); platform_device_register(&tegra_hcd[i]); } } diff --git a/arch/arm/mach-tegra/include/mach/usb-hcd.h b/arch/arm/mach-tegra/include/mach/usb-hcd.h index c4db5a0bfc3b..cc270e654cb5 100644 --- a/arch/arm/mach-tegra/include/mach/usb-hcd.h +++ b/arch/arm/mach-tegra/include/mach/usb-hcd.h @@ -38,6 +38,7 @@ struct tegra_hcd_platform_data { unsigned int id_detect; int gpio_nr; bool otg_mode; + bool fast_wakeup; NvU32 powerClientId; NvU32 vBusPowerRail; /* USB PHY power rail. Tegra has integrated UTMI (USB transciver |