Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Oliver Neukum and committed by
Greg Kroah-Hartman
b5584695 6613476e

+2
+2
include/uapi/linux/usb/ch9.h
··· 763 763 #define USB_OTG_SRP (1 << 0) 764 764 #define USB_OTG_HNP (1 << 1) /* swap host/device roles */ 765 765 #define USB_OTG_ADP (1 << 2) /* support ADP */ 766 + /* OTG 3.0 */ 767 + #define USB_OTG_RSP (1 << 3) /* support RSP */ 766 768 767 769 #define OTG_STS_SELECTOR 0xF000 /* OTG status selector */ 768 770 /*-------------------------------------------------------------------------*/