diff options
author | Venkat Moganty <vmoganty@nvidia.com> | 2010-01-15 19:56:46 +0530 |
---|---|---|
committer | Venkat Moganty <vmoganty@nvidia.com> | 2010-01-19 11:24:37 +0530 |
commit | 98968646e2faada52420581bfcf5f80362f94f69 (patch) | |
tree | ca199f73fa08e29726fc53b0050fb253d1b8e6c3 /include | |
parent | 9d42c3949099b2310182e97b3ea23e641dc82286 (diff) |
TEGRA - Adding USB OTG feature
Enabling support for the OTG in NVIDIA Tegra SoCs by providing simple
transceiver interface for detecting the Host or Device based on the
USBID and VBUS sensors.
Bug 629098 USB OTG problem
Tested on Whistler with Android
USB OTG is tested on whistler USB port1, by setting the USB mode type
as "NvOdmUsbModeType_OTG" in the ODM usb property of
arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
Tested OTG-HOST by connecting USB keyboard and OTG-device by connecting adb.
Change-Id: I860e1f4be5f7c96765c2ce1ca320fdf212164811
Diffstat (limited to 'include')
-rwxr-xr-x[-rw-r--r--] | include/linux/tegra_devices.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/tegra_devices.h b/include/linux/tegra_devices.h index 93d7324d2e37..143037a4a64e 100644..100755 --- a/include/linux/tegra_devices.h +++ b/include/linux/tegra_devices.h @@ -48,10 +48,16 @@ struct tegra_hcd_platform_data { * macrocell interface) PHY on USB controllers 0 and 2. These 2 PHYs * have its own rails. */ - NvU32 phyPowerRail; + NvU32 phyPowerRail; NvDdkUsbPhyHandle hUsbPhy; }; +/* Platform data for USB OTG driver */ +struct tegra_otg_platform_data { + NvU32 instance; + const NvOdmUsbProperty *usb_property; +}; + /* Platfrom data for I2C bus driver */ struct tegra_i2c_platform_data { NvU32 IoModuleID; |