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
102#define USB_REQ_LOOPBACK_DATA_WRITE 0x15102#define USB_REQ_LOOPBACK_DATA_WRITE 0x15
103#define USB_REQ_LOOPBACK_DATA_READ 0x16103#define USB_REQ_LOOPBACK_DATA_READ 0x16
104#define USB_REQ_SET_INTERFACE_DS 0x17104#define USB_REQ_SET_INTERFACE_DS 0x17
105#define USB_REQ_AUTH_IN 0x18
106#define USB_REQ_AUTH_OUT 0x19
105 107
106/* specific requests for USB Power Delivery */108/* specific requests for USB Power Delivery */
107#define USB_REQ_GET_PARTNER_PDO 20109#define USB_REQ_GET_PARTNER_PDO 20
@@ -121,15 +123,17 @@ · 13 unmodified lines
121 * are at most sixteen features of each type.) Hubs may also support a123 * are at most sixteen features of each type.) Hubs may also support a
122 * new USB_REQ_TEST_AND_SET_FEATURE to put ports into L1 suspend.124 * new USB_REQ_TEST_AND_SET_FEATURE to put ports into L1 suspend.
123 */125 */
124#define USB_DEVICE_SELF_POWERED 0 /* (read only) */126#define USB_DEVICE_SELF_POWERED 0 /* (read only) */
125#define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */127#define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */
126#define USB_DEVICE_TEST_MODE 2 /* (wired high speed only) */128#define USB_DEVICE_TEST_MODE 2 /* (wired high speed only) */
127#define USB_DEVICE_BATTERY 2 /* (wireless) */129#define USB_DEVICE_BATTERY 2 /* (wireless) */
128#define USB_DEVICE_B_HNP_ENABLE 3 /* (otg) dev may initiate HNP */130#define USB_DEVICE_B_HNP_ENABLE 3 /* (otg) dev may initiate HNP */
129#define USB_DEVICE_WUSB_DEVICE 3 /* (wireless)*/131#define USB_DEVICE_WUSB_DEVICE 3 /* (wireless)*/
130#define USB_DEVICE_A_HNP_SUPPORT 4 /* (otg) RH port supports HNP */132#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 */133#define USB_DEVICE_A_ALT_HNP_SUPPORT 5 /* (otg) other RH port does */
132#define USB_DEVICE_DEBUG_MODE 6 /* (special devices only) */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 */
133 137
134/*138/*
135 * Test Mode Selectors139 * Test Mode Selectors
@@ -1147,6 +1151,17 @@ struct usb_ptm_cap_descriptor { · 1011 unmodified lines
1147 1151
1148/*-------------------------------------------------------------------------*/1152/*-------------------------------------------------------------------------*/
1149 1153
1154struct 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
1150/* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with1165/* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with
1151 * each endpoint descriptor for a wireless device1166 * each endpoint descriptor for a wireless device
1152 */1167 */

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