]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: dwc3: Support USB3340x ULPI PHY high-speed negotiation.
authorIngo Rohloff <ingo.rohloff@lauterbach.com>
Thu, 5 Mar 2026 12:14:52 +0000 (13:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2026 14:00:28 +0000 (15:00 +0100)
commita28de63356575612954d4e5d5f48a2488f50e16d
tree5c7b8278c7b3ea1eca6dd82e96d4d18cdcb06442
parentd740dcd1fa7b9cd86f10f1badc173b952fdc375f
usb: dwc3: Support USB3340x ULPI PHY high-speed negotiation.

The Microchip USB3340x ULPI PHY requires a delay when switching to the
high-speed transmitter. See:
    http://ww1.microchip.com/downloads/en/DeviceDoc/80000645A.pdf
    Module 2 "Device Enumeration Failure with Link IP Systems"

For details on the behavior and fix, refer to the AMD (formerly Xilinx)
forum post: "USB stuck in full speed mode with USB3340 ULPI PHY, ZynqMP."

This patch uses the USB PHY Vendor-ID and Product-ID to detect the
USB3340 PHY and then applies the necessary fix if this PHY is found.

Signed-off-by: Ingo Rohloff <ingo.rohloff@lauterbach.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://patch.msgid.link/20260305121452.54082-2-ingo.rohloff@lauterbach.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/ulpi.c