History

Merge tag 'usb-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb

Pull USB / Thunderbolt updates from Greg KH: "Here is the big set of USB and Thunderbolt changes for 7.1-rc1. Lots of little things in here, nothing major, just constant improvements, updates, and new features. Highlights are: - new USB power supply driver support. These changes did touch outside of drivers/usb/ but got acks from the relevant mantainers for them. - dts file updates and conversions - string function conversions into "safer" ones - new device quirks - xhci driver updates - usb gadget driver minor fixes - typec driver additions and updates - small number of thunderbolt driver changes - dwc3 driver updates and additions of new hardware support - other minor driver updates All of these have been in the linux-next tree for a while with no reported issues" * tag 'usb-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (176 commits) usb: dwc3: starfive: Add JHB100 USB 2.0 DRD controller dt-bindings: usb: dwc3: add support for StarFive JHB100 dt-bindings: usb: atmel,at91sam9rl-udc: convert to DT schema dt-bindings: usb: atmel,at91rm9200-udc: convert to DT schema dt-bindings: usb: generic-ehci: fix schema structure and add at91sam9g45 constraints dt-bindings: usb: generic-ohci: add AT91RM9200 OHCI binding support arm: dts: at91: remove unused #address-cells/#size-cells from sam9x60 udc node drivers/usb/host: Fix spelling error 'seperate' -> 'separate' usbip: tools: add hint when no exported devices are found USB: serial: iuu_phoenix: fix iuutool author name usb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb() usb: gadget: f_phonet: fix skb frags[] overflow in pn_rx_complete() usb: gadget: f_hid: Add missing error code usb: typec: cros_ec_ucsi: Load driver from OF and ACPI definitions dt-bindings: chrome: Add cros-ec-ucsi compatibility to typec binding USB: of: Simplify with scoped for each OF child loop usbip: validate number_of_packets in usbip_pack_ret_submit() usb: gadget: renesas_usb3: validate endpoint index in standard request handlers usb: core: config: reverse the size check of the SSP isoc endpoint descriptor usb: typec: ucsi: Set usb mode on partner change ...

Linus Torvalds committed 7 months ago

Commit 99ef60d2 parents 73398c2 8711734134 files · +4763 −1381Browse files

Showing the changes to include/uapi/linux (1 of 134 files). Show all

Unified · Split

include/uapi/linux/usb/ch9.h+24−9
@@ -102,6 +102,8 @@ · 101 unmodified lines
102102 #define USB_REQ_LOOPBACK_DATA_WRITE 0x15
103103 #define USB_REQ_LOOPBACK_DATA_READ 0x16
104104 #define USB_REQ_SET_INTERFACE_DS 0x17
105+#define USB_REQ_AUTH_IN 0x18
106+#define USB_REQ_AUTH_OUT 0x19
105107
106108 /* specific requests for USB Power Delivery */
107109 #define USB_REQ_GET_PARTNER_PDO 20
@@ -121,15 +123,17 @@ · 13 unmodified lines
121123 * are at most sixteen features of each type.) Hubs may also support a
122124 * new USB_REQ_TEST_AND_SET_FEATURE to put ports into L1 suspend.
123125 */
124−#define USB_DEVICE_SELF_POWERED 0 /* (read only) */
125−#define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */
126−#define USB_DEVICE_TEST_MODE 2 /* (wired high speed only) */
127−#define USB_DEVICE_BATTERY 2 /* (wireless) */
128−#define USB_DEVICE_B_HNP_ENABLE 3 /* (otg) dev may initiate HNP */
129−#define USB_DEVICE_WUSB_DEVICE 3 /* (wireless)*/
130−#define USB_DEVICE_A_HNP_SUPPORT 4 /* (otg) RH port supports HNP */
131−#define USB_DEVICE_A_ALT_HNP_SUPPORT 5 /* (otg) other RH port does */
132−#define USB_DEVICE_DEBUG_MODE 6 /* (special devices only) */
126+#define USB_DEVICE_SELF_POWERED 0 /* (read only) */
127+#define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */
128+#define USB_DEVICE_TEST_MODE 2 /* (wired high speed only) */
129+#define USB_DEVICE_BATTERY 2 /* (wireless) */
130+#define USB_DEVICE_B_HNP_ENABLE 3 /* (otg) dev may initiate HNP */
131+#define USB_DEVICE_WUSB_DEVICE 3 /* (wireless)*/
132+#define USB_DEVICE_A_HNP_SUPPORT 4 /* (otg) RH port supports HNP */
133+#define USB_DEVICE_A_ALT_HNP_SUPPORT 5 /* (otg) other RH port does */
134+#define USB_DEVICE_DEBUG_MODE 6 /* (special devices only) */
135+
136+#define USB_DEVICE_BULK_MAX_PACKET_UPDATE 8 /* (eUSB2v2) bump maxpacket to 1024 */
133137
134138 /*
135139 * Test Mode Selectors
@@ -1147,6 +1151,17 @@ struct usb_ptm_cap_descriptor { · 1011 unmodified lines
11471151
11481152 /*-------------------------------------------------------------------------*/
11491153
1154+struct usb_authentication_capability_descriptor {
1155+ __u8 bLength;
1156+ __u8 bDescriptorType; /* set to USB_DT_DEVICE_CAPABILITY */
1157+ __u8 bmAttributes;
1158+
1159+ __u8 bcdProtocolVersion;
1160+ __u8 bcdCapability;
1161+} __attribute__((packed));
1162+
1163+/*-------------------------------------------------------------------------*/
1164+
11501165 /* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with
11511166 * each endpoint descriptor for a wireless device
11521167 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t