summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2024-01-18 19:36:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-28 01:41:00 +0100
commitb558469580f82b925d6651ac8d7a01070402dbf8 (patch)
tree2edc534b31de34d271c60f5321ae3977bedfb10e /include/uapi
parentLinux 6.8-rc1 (diff)
downloadlinux-b558469580f82b925d6651ac8d7a01070402dbf8.tar.xz
linux-b558469580f82b925d6651ac8d7a01070402dbf8.zip
USB: uapi: OTG 3.0
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/usb/ch9.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
index 8a147abfc680..44d73ba8788d 100644
--- 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 */
/*-------------------------------------------------------------------------*/