Skip to content

Commit 58bcac1

Browse files
committed
Merge tag 'usb-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB and Thunderbolt driver updates from Greg KH: "Here is the large set of USB and Thunderbolt driver changes for 6.2-rc1. Overall, thanks to the removal of a driver, more lines were removed than added, a nice change. Highlights include: - removal of the sisusbvga driver that was not used by anyone anymore - minor thunderbolt driver changes and tweaks - chipidea driver updates - usual set of typec driver features and hardware support added - musb minor driver fixes - fotg210 driver fixes, bringing that hardware back from the "dead" - minor dwc3 driver updates - addition, and then removal, of a list.h helper function for many USB and other subsystem drivers, that ended up breaking the build. That will come back for 6.3-rc1, it missed this merge window. - usual xhci updates and enhancements - usb-serial driver updates and support for new devices - other minor USB driver updates All of these have been in linux-next for a while with no reported problems" * tag 'usb-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (153 commits) usb: gadget: uvc: Rename bmInterfaceFlags -> bmInterlaceFlags usb: dwc2: power on/off phy for peripheral mode in dual-role mode usb: dwc2: disable lpm feature on Rockchip SoCs dt-bindings: usb: mtk-xhci: add support for mt7986 usb: dwc3: core: defer probe on ulpi_read_id timeout usb: ulpi: defer ulpi_register on ulpi_read_id timeout usb: misc: onboard_usb_hub: add Genesys Logic GL850G hub support dt-bindings: usb: Add binding for Genesys Logic GL850G hub controller dt-bindings: vendor-prefixes: add Genesys Logic usb: fotg210-udc: fix potential memory leak in fotg210_udc_probe() usb: typec: tipd: Set mode of operation for USB Type-C connector usb: gadget: udc: drop obsolete dependencies on COMPILE_TEST usb: musb: remove extra check in musb_gadget_vbus_draw usb: gadget: uvc: Prevent buffer overflow in setup handler usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe() usb: storage: Add check for kcalloc USB: sisusbvga: use module_usb_driver() USB: sisusbvga: rename sisusb.c to sisusbvga.c USB: sisusbvga: remove console support ...
2 parents 84e57d2 + 81c2524 commit 58bcac1

File tree

163 files changed

+2079
-7049
lines changed

Some content is hidden

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

163 files changed

+2079
-7049
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Description: Specific MJPEG format descriptors
197197
read-only
198198
bmaControls this format's data for bmaControls in
199199
the streaming header
200-
bmInterfaceFlags specifies interlace information,
200+
bmInterlaceFlags specifies interlace information,
201201
read-only
202202
bAspectRatioY the X dimension of the picture aspect
203203
ratio, read-only
@@ -253,7 +253,7 @@ Description: Specific uncompressed format descriptors
253253
read-only
254254
bmaControls this format's data for bmaControls in
255255
the streaming header
256-
bmInterfaceFlags specifies interlace information,
256+
bmInterlaceFlags specifies interlace information,
257257
read-only
258258
bAspectRatioY the X dimension of the picture aspect
259259
ratio, read-only

Documentation/ABI/testing/sysfs-bus-usb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,17 @@ Description:
264264
attached to the port will not be detected, initialized,
265265
or enumerated.
266266

267+
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/early_stop
268+
Date: Sep 2022
269+
Contact: Ray Chi <[email protected]>
270+
Description:
271+
Some USB hosts have some watchdog mechanisms so that the device
272+
may enter ramdump if it takes a long time during port initialization.
273+
This attribute allows each port just has two attempts so that the
274+
port initialization will be failed quickly. In addition, if a port
275+
which is marked with early_stop has failed to initialize, it will ignore
276+
all future connections until this attribute is clear.
277+
267278
What: /sys/bus/usb/devices/.../power/usb2_lpm_l1_timeout
268279
Date: May 2013
269280
Contact: Mathias Nyman <[email protected]>

Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ properties:
2828
items:
2929
- const: phy
3030

31+
power-domains:
32+
maxItems: 1
33+
3134
vbus-supply:
3235
description:
3336
A phandle to the regulator for USB VBUS.

Documentation/devicetree/bindings/usb/dwc2.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ properties:
4343
- const: rockchip,rk3066-usb
4444
- const: snps,dwc2
4545
- const: lantiq,arx100-usb
46+
- const: lantiq,ase-usb
47+
- const: lantiq,danube-usb
4648
- const: lantiq,xrx200-usb
49+
- const: lantiq,xrx300-usb
4750
- items:
4851
- enum:
4952
- amlogic,meson8-usb
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Genesys Logic GL850G USB 2.0 hub controller
8+
9+
maintainers:
10+
- Icenowy Zheng <[email protected]>
11+
12+
allOf:
13+
- $ref: usb-device.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- usb5e3,608
19+
20+
reg: true
21+
22+
reset-gpios:
23+
description: GPIO controlling the RESET# pin.
24+
25+
vdd-supply:
26+
description:
27+
the regulator that provides 3.3V core power to the hub.
28+
29+
required:
30+
- compatible
31+
- reg
32+
33+
additionalProperties: false
34+
35+
examples:
36+
- |
37+
#include <dt-bindings/gpio/gpio.h>
38+
usb {
39+
dr_mode = "host";
40+
#address-cells = <1>;
41+
#size-cells = <0>;
42+
43+
hub: hub@1 {
44+
compatible = "usb5e3,608";
45+
reg = <1>;
46+
reset-gpios = <&pio 7 2 GPIO_ACTIVE_LOW>;
47+
};
48+
};

Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ properties:
2828
- mediatek,mt7622-xhci
2929
- mediatek,mt7623-xhci
3030
- mediatek,mt7629-xhci
31+
- mediatek,mt7986-xhci
3132
- mediatek,mt8173-xhci
3233
- mediatek,mt8183-xhci
3334
- mediatek,mt8186-xhci

Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ properties:
2424
- mediatek,mt2712-mtu3
2525
- mediatek,mt8173-mtu3
2626
- mediatek,mt8183-mtu3
27+
- mediatek,mt8186-mtu3
2728
- mediatek,mt8188-mtu3
2829
- mediatek,mt8192-mtu3
2930
- mediatek,mt8195-mtu3

Documentation/devicetree/bindings/usb/qcom,dwc3.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ properties:
3939
- qcom,sm8250-dwc3
4040
- qcom,sm8350-dwc3
4141
- qcom,sm8450-dwc3
42+
- qcom,sm8550-dwc3
4243
- const: qcom,dwc3
4344

4445
reg:
@@ -301,6 +302,7 @@ allOf:
301302
- qcom,sm8150-dwc3
302303
- qcom,sm8250-dwc3
303304
- qcom,sm8450-dwc3
305+
- qcom,sm8550-dwc3
304306
then:
305307
properties:
306308
clocks:
@@ -358,6 +360,7 @@ allOf:
358360
- qcom,sm8250-dwc3
359361
- qcom,sm8350-dwc3
360362
- qcom,sm8450-dwc3
363+
- qcom,sm8550-dwc3
361364
then:
362365
properties:
363366
interrupts:

Documentation/devicetree/bindings/usb/usb-drd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ properties:
2727
should default to OTG.
2828
$ref: /schemas/types.yaml#/definitions/string
2929
enum: [host, peripheral, otg]
30+
default: otg
3031

3132
hnp-disable:
3233
description:

Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ properties:
3939
the VBus line.
4040
$ref: /schemas/types.yaml#/definitions/phandle
4141

42+
wakeup-source:
43+
description:
44+
Specify if the USB phy can detect the remote wakeup signal
45+
while the system sleep.
46+
4247
required:
4348
- compatible
4449
- '#phy-cells'

0 commit comments

Comments
 (0)