diff options
author | Avinash Kumar <avinash.kumar@stericsson.com> | 2012-02-14 14:33:12 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:03:18 +0200 |
commit | 56d0696232fa2ba60006fcd05888e933ef9dc085 (patch) | |
tree | 2b37ce31e915e9299d248fdd487daaab1bbd16e0 /drivers/usb/gadget | |
parent | bdb74d8442ca934d2a06a35379cd5315d76c7888 (diff) |
USB: USB Electrical Test Mode Support
Added the Test device VID/PID in TPL list for OTG 2.0
Removed the is_host_active check while setting the test mode.
OTG Test Mode support is added.An OTG device shall support the
test device that initiates these test modes. Upon enumeration
by the host, the test device presents a VID/PID pair that
defines a test mode or operation to execute. Upon enumerating
the test device with VID of 0x1A0A, the Targeted Host shall
perform the following operations based on the PID presented.
PID Test Mode
0x0101 Test_SE0_NAK
0x0102 Test_J
0x0103 Test_K
0x0104 Test_Packet
0x0105 Reserved.
0x0106 HS_HOST_PORT_SUSPEND_RESUME
0x0107 SINGLE_STEP_GET_DEV_DESC
0x0108 SINGLE_STEP_ GET_DEV_DESC_DATA
ST-Ericsson ID: 401192
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10054
Change-Id: I63525228da242419ceb54198f117795bf44df483
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48813
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: QATEST
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 2633f759511..7e99677b81b 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -977,4 +977,15 @@ config USB_G_WEBCAM endchoice +config USB_OTG_20 + bool "OTG 2.0 USB SUPPORT" + select USB_OTG + select PM_RUNTIME + select USB_OTG_WHITELIST + select USB_SUSPEND + default n + help + Enabling the whitelist (Target Peripheral List-TPL) and runtime power + management at system level and usb level for OTG 2.0. + endif # USB_GADGET |