summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-01-09 10:25:55 +0800
committerLi Jun <B47624@freescale.com>2014-09-30 10:12:44 +0800
commit1bf5e829100a2922826818bd8cbb18ee81452cfc (patch)
treecfff2ea50eca0902cd575a0028064e15837c519b /include
parentca8097d3e757bd0fcd117576d2f4f59bc92750c5 (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>
Diffstat (limited to 'include')
-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 */