Skip to content

Commit e09bf86

Browse files
committed
Merge tag 'usb-6.9-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 6.9-rc1. Lots of tiny changes and forward progress to support new hardware and better support for existing devices. Included in here are: - Thunderbolt (i.e. USB4) updates for newer hardware and uses as more people start to use the hardware - default USB authentication mode Kconfig and documentation update to make it more obvious what is going on - USB typec updates and enhancements - usual dwc3 driver updates - usual xhci driver updates - function USB (i.e. gadget) driver updates and additions - new device ids for lots of drivers - loads of other small updates, full details in the shortlog All of these, including a "last minute regression fix" have been in linux-next with no reported issues" * tag 'usb-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (185 commits) usb: usb-acpi: Fix oops due to freeing uninitialized pld pointer usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic phy: tegra: xusb: Add API to retrieve the port number of phy USB: gadget: pxa27x_udc: Remove unused of_gpio.h usb: gadget/snps_udc_plat: Remove unused of_gpio.h usb: ohci-pxa27x: Remove unused of_gpio.h usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined usb: Clarify expected behavior of dev_bin_attrs_are_visible() xhci: Allow RPM on the USB controller (1022:43f7) by default usb: isp1760: remove SLAB_MEM_SPREAD flag usage usb: misc: onboard_hub: use pointer consistently in the probe function usb: gadget: fsl: Increase size of name buffer for endpoints usb: gadget: fsl: Add of device table to enable module autoloading usb: typec: tcpm: add support to set tcpc connector orientatition usb: typec: tcpci: add generic tcpci fallback compatible dt-bindings: usb: typec-tcpci: add tcpci fallback binding usb: gadget: fsl-udc: Replace custom log wrappers by dev_{err,warn,dbg,vdbg} usb: core: Set connect_type of ports based on DT node dt-bindings: usb: Add downstream facing ports to realtek binding ...
2 parents 2ac2b16 + a788e53 commit e09bf86

178 files changed

Lines changed: 9128 additions & 2484 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/ABI/testing/configfs-usb-gadget-ffs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ KernelVersion: 3.13
44
Description: The purpose of this directory is to create and remove it.
55

66
A corresponding USB function instance is created/removed.
7-
There are no attributes here.
87

9-
All parameters are set through FunctionFS.
8+
All attributes are read only:
9+
10+
============= ============================================
11+
ready 1 if the function is ready to be used, E.G.
12+
if userspace has written descriptors and
13+
strings to ep0, so the gadget can be
14+
enabled - 0 otherwise.
15+
============= ============================================
16+
17+
All other parameters are set through FunctionFS.

Documentation/ABI/testing/sysfs-bus-usb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,16 @@ What: /sys/bus/usb/devices/usbX/descriptors
442442
Description:
443443
Contains the interface descriptors, in binary.
444444

445+
What: /sys/bus/usb/devices/usbX/bos_descriptors
446+
Date: March 2024
447+
Contact: Elbert Mai <code@elbertmai.com>
448+
Description:
449+
Binary file containing the cached binary device object store (BOS)
450+
of the device. This consists of the BOS descriptor followed by the
451+
set of device capability descriptors. All descriptors read from
452+
this file are in bus-endian format. Note that the kernel will not
453+
request the BOS from a device if its bcdUSB is less than 0x0201.
454+
445455
What: /sys/bus/usb/devices/usbX/idProduct
446456
Description:
447457
Product ID, in hexadecimal.

Documentation/ABI/testing/sysfs-class-usb_role

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ Description:
1919
- none
2020
- host
2121
- device
22+
23+
What: /sys/class/usb_role/<switch>/connector
24+
Date: Feb 2024
25+
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
26+
Description:
27+
Optional symlink to the USB Type-C connector.

Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
- enum:
2727
- qcom,pm4125-vbus-reg
2828
- qcom,pm6150-vbus-reg
29+
- qcom,pmi632-vbus-reg
2930
- const: qcom,pm8150b-vbus-reg
3031

3132
reg:

Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
oneOf:
2424
- items:
2525
- enum:
26+
- qcom,qcm6490-pmic-glink
2627
- qcom,sc8180x-pmic-glink
2728
- qcom,sc8280xp-pmic-glink
2829
- qcom,sm8350-pmic-glink
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/qcom,q6usb.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm ASoC DPCM USB backend DAI
8+
9+
maintainers:
10+
- Wesley Cheng <quic_wcheng@quicinc.com>
11+
12+
description:
13+
The USB port is a supported AFE path on the Q6 DSP. This ASoC DPCM
14+
backend DAI will communicate the required settings to initialize the
15+
XHCI host controller properly for enabling the offloaded audio stream.
16+
Parameters defined under this node will carry settings, which will be
17+
passed along during the QMI stream enable request and configuration of
18+
the XHCI host controller.
19+
20+
allOf:
21+
- $ref: dai-common.yaml#
22+
23+
properties:
24+
compatible:
25+
enum:
26+
- qcom,q6usb
27+
28+
iommus:
29+
maxItems: 1
30+
31+
"#sound-dai-cells":
32+
const: 1
33+
34+
qcom,usb-audio-intr-idx:
35+
description:
36+
Desired XHCI interrupter number to use. Depending on the audio DSP
37+
on the platform, it will operate on a specific XHCI interrupter.
38+
$ref: /schemas/types.yaml#/definitions/uint16
39+
maximum: 8
40+
41+
required:
42+
- compatible
43+
- "#sound-dai-cells"
44+
- qcom,usb-audio-intr-idx
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
dais {
51+
compatible = "qcom,q6usb";
52+
#sound-dai-cells = <1>;
53+
iommus = <&apps_smmu 0x180f 0x0>;
54+
qcom,usb-audio-intr-idx = /bits/ 16 <2>;
55+
};

Documentation/devicetree/bindings/usb/analogix,anx7411.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,11 @@ properties:
2323
connector:
2424
type: object
2525
$ref: ../connector/usb-connector.yaml
26-
unevaluatedProperties: false
27-
28-
description:
29-
Properties for usb c connector.
3026

3127
properties:
3228
compatible:
3329
const: usb-c-connector
3430

35-
power-role: true
36-
37-
data-role: true
38-
39-
try-power-role: true
40-
41-
required:
42-
- compatible
43-
4431
required:
4532
- compatible
4633
- reg

Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ properties:
313313

314314
usb-phy:
315315
description: phandle for the PHY device. Use "phys" instead.
316-
$ref: /schemas/types.yaml#/definitions/phandle
316+
maxItems: 1
317317
deprecated: true
318318

319319
fsl,usbphy:

Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,8 @@ properties:
2727
vcc-supply:
2828
description: power supply (2.7V-5.5V)
2929

30-
mode-switch:
31-
description: Flag the port as possible handle of altmode switching
32-
type: boolean
33-
34-
orientation-switch:
35-
description: Flag the port as possible handler of orientation switching
36-
type: boolean
30+
mode-switch: true
31+
orientation-switch: true
3732

3833
port:
3934
$ref: /schemas/graph.yaml#/$defs/port-base
@@ -79,6 +74,9 @@ required:
7974
- reg
8075
- port
8176

77+
allOf:
78+
- $ref: usb-switch.yaml#
79+
8280
additionalProperties: false
8381

8482
examples:

Documentation/devicetree/bindings/usb/generic-ehci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ properties:
7777
- const: usb-ehci
7878
- enum:
7979
- generic-ehci
80+
- marvell,ac5-ehci
8081
- marvell,armada-3700-ehci
8182
- marvell,orion-ehci
8283
- nuvoton,npcm750-ehci

0 commit comments

Comments
 (0)