Skip to content

Commit cfbba8a

Browse files
committed
Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
# Conflicts: # Documentation/devicetree/bindings/usb/ti,tps6598x.yaml # arch/arm64/boot/dts/rockchip/rk3588s.dtsi
2 parents 4af9bfe + c70793f commit cfbba8a

File tree

150 files changed

+7006
-1273
lines changed

Some content is hidden

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

150 files changed

+7006
-1273
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ Description:
3535
req_number the number of pre-allocated requests
3636
for both capture and playback
3737
function_name name of the interface
38+
c_terminal_type code of the capture terminal type
39+
p_terminal_type code of the playback terminal type
3840
===================== =======================================

Documentation/ABI/testing/sysfs-bus-usb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,15 @@ Description:
313313
Inter-Chip SSIC devices support asymmetric lanes up to 4 lanes per
314314
direction. Devices before USB 3.2 are single lane (tx_lanes = 1)
315315

316+
What: /sys/bus/usb/devices/.../typec
317+
Date: November 2023
318+
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
319+
Description:
320+
Symlink to the USB Type-C partner device. USB Type-C partner
321+
represents the component that communicates over the
322+
Configuration Channel (CC signal on USB Type-C connectors and
323+
cables) with the local port.
324+
316325
What: /sys/bus/usb/devices/usbX/bAlternateSetting
317326
Description:
318327
The current interface alternate setting number, in decimal.

Documentation/ABI/testing/sysfs-class-usb_power_delivery

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
124124
Description:
125125
The voltage the supply supports in millivolts.
126126

127+
What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:fixed_supply/peak_current
128+
Date: October 2023
129+
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
130+
Description:
131+
This file shows the value of the Fixed Power Source Peak Current
132+
Capability field.
133+
127134
What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:fixed_supply/maximum_current
128135
Date: May 2022
129136
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ properties:
2020
- qcom,qcm2290-qmp-usb3-phy
2121
- qcom,sa8775p-qmp-usb3-uni-phy
2222
- qcom,sc8280xp-qmp-usb3-uni-phy
23+
- qcom,sdx75-qmp-usb3-uni-phy
2324
- qcom,sm6115-qmp-usb3-phy
2425

2526
reg:
@@ -75,6 +76,7 @@ allOf:
7576
contains:
7677
enum:
7778
- qcom,ipq9574-qmp-usb3-phy
79+
- qcom,sdx75-qmp-usb3-uni-phy
7880
then:
7981
properties:
8082
clock-names:

Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ description:
1414

1515
properties:
1616
compatible:
17-
const: qcom,sm8550-snps-eusb2-phy
17+
oneOf:
18+
- items:
19+
- enum:
20+
- qcom,sdx75-snps-eusb2-phy
21+
- const: qcom,sm8550-snps-eusb2-phy
22+
- const: qcom,sm8550-snps-eusb2-phy
1823

1924
reg:
2025
maxItems: 1

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ properties:
3535
'#size-cells':
3636
const: 0
3737

38+
orientation-gpios:
39+
description: Array of input gpios for the Type-C connector orientation indication.
40+
The GPIO indication is used to detect the orientation of the Type-C connector.
41+
The array should contain a gpio entry for each PMIC Glink connector, in reg order.
42+
It is defined that GPIO active level means "CC2" or Reversed/Flipped orientation.
43+
3844
patternProperties:
3945
'^connector@\d$':
4046
$ref: /schemas/connector/usb-connector.yaml#
@@ -44,6 +50,19 @@ patternProperties:
4450
required:
4551
- compatible
4652

53+
allOf:
54+
- if:
55+
not:
56+
properties:
57+
compatible:
58+
contains:
59+
enum:
60+
- qcom,sm8450-pmic-glink
61+
- qcom,sm8550-pmic-glink
62+
then:
63+
properties:
64+
orientation-gpios: false
65+
4766
additionalProperties: false
4867

4968
examples:

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ properties:
1515
oneOf:
1616
- enum:
1717
- chipidea,usb2
18+
- fsl,imx27-usb
1819
- lsi,zevio-usb
20+
- nuvoton,npcm750-udc
1921
- nvidia,tegra20-ehci
2022
- nvidia,tegra20-udc
2123
- nvidia,tegra30-ehci
@@ -66,6 +68,10 @@ properties:
6668
- items:
6769
- const: xlnx,zynq-usb-2.20a
6870
- const: chipidea,usb2
71+
- items:
72+
- enum:
73+
- nuvoton,npcm845-udc
74+
- const: nuvoton,npcm750-udc
6975

7076
reg:
7177
minItems: 1
@@ -388,6 +394,7 @@ allOf:
388394
enum:
389395
- chipidea,usb2
390396
- lsi,zevio-usb
397+
- nuvoton,npcm750-udc
391398
- nvidia,tegra20-udc
392399
- nvidia,tegra30-udc
393400
- nvidia,tegra114-udc

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

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
enum:
15-
- fcs,fsa4480
14+
oneOf:
15+
- const: fcs,fsa4480
16+
- items:
17+
- enum:
18+
- ocs,ocp96011
19+
- const: fcs,fsa4480
1620

1721
reg:
1822
maxItems: 1
@@ -32,10 +36,43 @@ properties:
3236
type: boolean
3337

3438
port:
35-
$ref: /schemas/graph.yaml#/properties/port
39+
$ref: /schemas/graph.yaml#/$defs/port-base
3640
description:
3741
A port node to link the FSA4480 to a TypeC controller for the purpose of
3842
handling altmode muxing and orientation switching.
43+
unevaluatedProperties: false
44+
45+
properties:
46+
endpoint:
47+
$ref: /schemas/graph.yaml#/$defs/endpoint-base
48+
unevaluatedProperties: false
49+
50+
properties:
51+
data-lanes:
52+
$ref: /schemas/types.yaml#/definitions/uint32-array
53+
description:
54+
Specifies how the AUX+/- lines are connected to SBU1/2.
55+
oneOf:
56+
- items:
57+
- const: 0
58+
- const: 1
59+
description: |
60+
Default AUX/SBU layout (FSA4480)
61+
- AUX+ connected to SBU2
62+
- AUX- connected to SBU1
63+
Default AUX/SBU layout (OCP96011)
64+
- AUX+ connected to SBU1
65+
- AUX- connected to SBU2
66+
- items:
67+
- const: 1
68+
- const: 0
69+
description: |
70+
Swapped AUX/SBU layout (FSA4480)
71+
- AUX+ connected to SBU1
72+
- AUX- connected to SBU2
73+
Swapped AUX/SBU layout (OCP96011)
74+
- AUX+ connected to SBU2
75+
- AUX- connected to SBU1
3976
4077
required:
4178
- compatible

Documentation/devicetree/bindings/usb/genesys,gl850g.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Genesys Logic GL850G USB 2.0 hub controller
7+
title: Genesys Logic USB hub controller
88

99
maintainers:
1010
- Icenowy Zheng <uwu@icenowy.me>
@@ -18,6 +18,7 @@ properties:
1818
- usb5e3,608
1919
- usb5e3,610
2020
- usb5e3,620
21+
- usb5e3,626
2122

2223
reg: true
2324

Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ properties:
1919
compatible:
2020
items:
2121
- enum:
22+
- nxp,cbdtu02043
2223
- onnn,fsusb43l10x
2324
- pericom,pi3usb102
2425
- const: gpio-sbu-mux
@@ -50,7 +51,6 @@ required:
5051
- compatible
5152
- enable-gpios
5253
- select-gpios
53-
- mode-switch
5454
- orientation-switch
5555
- port
5656

0 commit comments

Comments
 (0)