diff options
| author | T Karthik Reddy <[email protected]> | 2019-10-14 14:52:50 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2019-11-07 00:24:59 +0100 |
| commit | f69257baa8323ffdc5b4fb6af200f9994a2003bd (patch) | |
| tree | 9200c51327c62f8872cda904545372ef9b4f235d /include/linux/usb/ch9.h | |
| parent | d80effb1847822e521cda17b4c73c83629b035d0 (diff) | |
usb: composite: add BOS descriptor support to composite framework
To add usb-3.0 support to peripheral device add BOS & SS capability
descriptors to gadget composite framework.
Signed-off-by: T Karthik Reddy <[email protected]>
Signed-off-by: Siva Durga Prasad Paladugu <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Roger Quadros <[email protected]>
Diffstat (limited to 'include/linux/usb/ch9.h')
| -rw-r--r-- | include/linux/usb/ch9.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index 264c9712a33..989a5fcbd96 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h @@ -878,6 +878,9 @@ struct usb_ss_cap_descriptor { /* Link Power Management */ __le16 bU2DevExitLat; } __attribute__((packed)); +#define USB_DEFAULT_U1_DEV_EXIT_LAT 0x01 /* Less then 1 microsec */ +#define USB_DEFAULT_U2_DEV_EXIT_LAT 0x01F4 /* Less then 500 microsec */ + #define USB_DT_USB_SS_CAP_SIZE 10 /* |
