projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6613476
)
USB: uapi: OTG 3.0
author
Oliver Neukum
<oneukum@suse.com>
Thu, 18 Jan 2024 18:36:33 +0000
(19:36 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 28 Jan 2024 00:41:00 +0000
(16:41 -0800)
Add attribute bits defined in version 3.0
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link:
https://lore.kernel.org/r/20240118183644.16125-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/usb/ch9.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/usb/ch9.h
b/include/uapi/linux/usb/ch9.h
index 8a147abfc6806590c3bfd91d37364478fc15f486..44d73ba8788dc46b09441415575cd4ad6b759ebb 100644
(file)
--- a/
include/uapi/linux/usb/ch9.h
+++ b/
include/uapi/linux/usb/ch9.h
@@
-763,6
+763,8
@@
struct usb_otg20_descriptor {
#define USB_OTG_SRP (1 << 0)
#define USB_OTG_HNP (1 << 1) /* swap host/device roles */
#define USB_OTG_ADP (1 << 2) /* support ADP */
+/* OTG 3.0 */
+#define USB_OTG_RSP (1 << 3) /* support RSP */
#define OTG_STS_SELECTOR 0xF000 /* OTG status selector */
/*-------------------------------------------------------------------------*/