]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/uapi/linux/usb/ch9.h
MLK-9617-1 usb: otg: update otg descriptor definition for OTG and EH 2.0
[karo-tx-linux.git] / include / uapi / linux / usb / ch9.h
index aa33fd1b2d4f3a7575dc160d906907133119f1d5..c1856f3b5158e4d82ea73a146755b7f8a4b65ecb 100644 (file)
@@ -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 */