diff options
author | Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> | 2011-01-25 16:10:30 +0530 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-02-04 12:47:09 +0100 |
commit | e7605f04bd6ebafec097e5cc734ff9affbc17158 (patch) | |
tree | 052179b849bc319bc845ddfdec05647c457d2e73 /Documentation | |
parent | 28327e018d157f3445d34e76a9f55ed010ef9327 (diff) |
USB: gadget: OTG supplement revision 2.0 updates
Introduce otg_version field in usb_gadget struct.UDC can advertise
OTG spec version compatibility by setting otg_version field
appropriately. Gadget drivers fill the bcdOTG field in OTG
descriptor based on UDC's OTG version.
Add sysfs file for host_request and UDC returns the same when
HNP polling request arrives from the host.
Signed-off-by: Pavankumar Kondeti <pkondeti@...>
Change-Id: Idde2bfcdbdada1023ef2bc7ef8d01d85fa271331
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14267
Tested-by: Sakethram BOMMISETTI <sakethram.bommisetti@stericsson.com>
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: QATOOLS
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget b/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget index 34034027b13..1424c746fda 100644 --- a/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget +++ b/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget @@ -7,3 +7,15 @@ Description: 0 -> resumed (_UDC_ is the name of the USB Device Controller driver) +What: /sys/devices/platform/_UDC_/gadget/host_request +Date: December 2010 +Contact: Pavan Kondeti <pkondeti@...> +Description: + OTG 2.0 compliant host keeps polling OTG2.0 peripheral + for host role. Set host_request flag, which tells host + to give up the host role to peripheral. + + 1 -> host role is requested + 0 -> no effect (automatically cleared upon reset/disconnect) + + (_UDC_ is the name of the USB Device Controller driver)
\ No newline at end of file |