-
Notifications
You must be signed in to change notification settings - Fork 54.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'usb-6.7-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.7-rc1. Nothing really major in here, just lots of constant development for new hardware. Included in here are: - Thunderbolt (i.e. USB4) fixes for reported issues and support for new hardware types and devices - USB typec additions of new drivers and cleanups for some existing ones - xhci cleanups and expanded tracing support and some platform specific updates - USB "La Jolla Cove Adapter (LJCA)" support added, and the gpio, spi, and i2c drivers for that type of device (all acked by the respective subsystem maintainers.) - lots of USB gadget driver updates and cleanups - new USB dwc3 platforms supported, as well as other dwc3 fixes and cleanups - USB chipidea driver updates - other smaller driver cleanups and additions, full details in the shortlog All of these have been in the linux-next tree for a while with no reported problems" * tag 'usb-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (167 commits) usb: gadget: uvc: Add missing initialization of ssp config descriptor usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility usb: raw-gadget: report suspend, resume, reset, and disconnect events usb: raw-gadget: don't disable device if usb_ep_queue fails usb: raw-gadget: properly handle interrupted requests usb:cdnsp: remove TRB_FLUSH_ENDPOINT command usb: gadget: aspeed_udc: Convert to platform remove callback returning void dt-bindings: usb: fsa4480: Add compatible for OCP96011 usb: typec: fsa4480: Add support to swap SBU orientation dt-bindings: usb: fsa4480: Add data-lanes property to endpoint usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm() Revert "dt-bindings: usb: Add bindings for multiport properties on DWC3 controller" Revert "dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport" thunderbolt: Fix one kernel-doc comment usb: gadget: f_ncm: Always set current gadget in ncm_bind() usb: core: Remove duplicated check in usb_hub_create_port_device usb: typec: tcpm: Add additional checks for contaminant arm64: dts: rockchip: rk3588s: Add USB3 host controller usb: dwc3: add optional PHY interface clocks dt-bindings: usb: add rk3588 compatible to rockchip,dwc3 ...
- Loading branch information
Showing
150 changed files
with
7,007 additions
and
1,273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/usb/nxp,ptn36502.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver | ||
|
||
maintainers: | ||
- Luca Weiss <luca.weiss@fairphone.com> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- nxp,ptn36502 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
vdd18-supply: | ||
description: Power supply for VDD18 pin | ||
|
||
retimer-switch: | ||
description: Flag the port as possible handle of SuperSpeed signals retiming | ||
type: boolean | ||
|
||
orientation-switch: | ||
description: Flag the port as possible handler of orientation switching | ||
type: boolean | ||
|
||
ports: | ||
$ref: /schemas/graph.yaml#/properties/ports | ||
properties: | ||
port@0: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: Super Speed (SS) Output endpoint to the Type-C connector | ||
|
||
port@1: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: Super Speed (SS) Input endpoint from the Super-Speed PHY | ||
|
||
port@2: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: | ||
Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of | ||
handling altmode muxing and orientation switching. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
typec-mux@1a { | ||
compatible = "nxp,ptn36502"; | ||
reg = <0x1a>; | ||
vdd18-supply = <&usb_redrive_1v8>; | ||
retimer-switch; | ||
orientation-switch; | ||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
port@0 { | ||
reg = <0>; | ||
usb_con_ss: endpoint { | ||
remote-endpoint = <&typec_con_ss>; | ||
}; | ||
}; | ||
port@1 { | ||
reg = <1>; | ||
phy_con_ss: endpoint { | ||
remote-endpoint = <&usb_phy_ss>; | ||
}; | ||
}; | ||
port@2 { | ||
reg = <2>; | ||
usb_con_sbu: endpoint { | ||
remote-endpoint = <&typec_dp_aux>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
2c40c1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit may have introduced some incompatibility with the latest Lenovo X1 laptops, specifically X1 Carbon Gen 10 / X1 Yoga Gen 7:
After updating to kernel 6.7 the USB connection on my Lenovo X1 Yoga Gen 7 became unstable. For instance, when I try to use my PlayerOneAstronomy Uranus-C camera in its native resolution, it fails to initialize and is stuck in an infinite reset loop. The respective message in the kernel log is:
kern :info : [Feb15 18:44] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
kern :info : [ +0.018551] usb 4-1: New USB device found, idVendor=a0a0, idProduct=5850, bcdDevice= 0.00
kern :info : [ +0.000032] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kern :info : [ +0.000011] usb 4-1: Product: Uranus-C
kern :info : [ +0.000007] usb 4-1: Manufacturer: Player One
kern :info : [ +31.527976] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern :info : [ +3.370075] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern :info : [ +3.363085] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern :info : [ +3.363459] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
kern :info : [ +3.366393] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
[...]
I contacted the software developer of the imaging programme I am using and after we established that it is not a bug in the software I contacted the device manufacturer. I also updated the BIOS and firmware to the latest available version. The bottom line is, that all evidence points towards an incompatibility with the USB controller that has been introduced with this kernel commit: this commit happened between kernels 6.6 and 6.7 and changes were made in many places relating to USB and XHCI.