summaryrefslogtreecommitdiff
path: root/include/linux/tegra_devices.h
diff options
context:
space:
mode:
authorsgadagottu <sgadagottu@nvidia.com>2010-03-20 01:57:00 +0530
committerGary King <gking@nvidia.com>2010-03-21 09:33:01 -0800
commit873a30edbac4017af82525c1e2385d2b743f436e (patch)
tree4d8f39403a5277a2ab054d44034cf10415640017 /include/linux/tegra_devices.h
parent3fd0b4e9712b848d23f2f341ab4e5b472f50932f (diff)
tegra usb: Switching of USB busy hints, when no active USB tranferstegra-9.12.8
are happening though a device connection on host port. Currently for harmony, an intergrated SMSC hub present on USB3. Because of this device connection is present on USB3 and USB power busy hints are always on. To avoid this, for host by default busy hints are off and USB busy hints will be on for : 1.Bulk and isochronus transfers 2.Interrupts transfers with buffer length >= 256. Busy hint will be on for pre-defined amount of time and after that busy hints will be off automatically. With this in idle state power is reduced. Tested on : Harmony Enumeartion is happening fine. LAN and USB HID devices are working fine Change-Id: Ifd653bebfb52c7702f7d24bf11ccf93e62ea0f66 Reviewed-on: http://git-master/r/915 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'include/linux/tegra_devices.h')
-rwxr-xr-xinclude/linux/tegra_devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tegra_devices.h b/include/linux/tegra_devices.h
index 4f1d4c8fb267..07fbc84c44c7 100755
--- a/include/linux/tegra_devices.h
+++ b/include/linux/tegra_devices.h
@@ -50,6 +50,7 @@ struct tegra_hcd_platform_data {
*/
NvU32 phyPowerRail;
NvDdkUsbPhyHandle hUsbPhy;
+ struct work_struct work;
};
/* Platform data for USB OTG driver */