summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-01-09 10:25:55 +0800
committerLi Jun <jun.li@freescale.com>2015-01-28 11:08:37 +0800
commitfdba6f632215fb925d45c9ad5ce49ce1a39ecb1a (patch)
tree0ad36c8680b7615ecb6d479d5992547e2f66a0cf /include/uapi
parent98ec5de41eec3f0349ed6e7dd24b92505c6f65da (diff)
MLK-9617-1 usb: otg: update otg descriptor definition for OTG and EH 2.0
Add one field bcdOTG for OTG and EH supplement release number in OTG descriptor according to On-The-Go and Embedded Host Supplement to the USB Revision 2.0 Specification Revision 2.0 version 1.1a. Acked-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Li Jun <b47624@freescale.com> (cherry picked from commit 1bf5e829100a2922826818bd8cbb18ee81452cfc)
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/usb/ch9.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
index aa33fd1b2d4f..c1856f3b5158 100644
--- a/include/uapi/linux/usb/ch9.h
+++ b/include/uapi/linux/usb/ch9.h
@@ -672,6 +672,12 @@ struct usb_otg_descriptor {
__u8 bDescriptorType;
__u8 bmAttributes; /* support for HNP, SRP, etc */
+ __le16 bcdOTG; /* OTG and EH supplement release number
+ * in binary-coded decimal (i.e. 2.0 is 0200H).
+ * This field identifies the release of the
+ * OTG and EH supplement with which the device
+ * and its descriptors are compliant.
+ */
} __attribute__ ((packed));
/* from usb_otg_descriptor.bmAttributes */