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 /arch/arm/mach-tegra/include/mach | |
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 'arch/arm/mach-tegra/include/mach')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/platform.h b/arch/arm/mach-tegra/include/mach/platform.h index f80632aff0a8..98064eab1bfa 100644 --- a/arch/arm/mach-tegra/include/mach/platform.h +++ b/arch/arm/mach-tegra/include/mach/platform.h @@ -21,6 +21,7 @@ #ifndef __MACH_TEGRA_PLATFORM_H extern unsigned long tegra_get_module_inst_base(const char *, int); +extern unsigned long tegra_get_module_inst_size(const char *, int); extern unsigned int tegra_get_module_inst_irq(const char *, int, int); #define TEGRA_PL310_BASE (tegra_get_module_inst_base("pl310", 0)) |