]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
usb: xhci-dwc3: Add "apple,t8103-dwc3" compatible
authorJanne Grunau <j@jannau.net>
Fri, 16 Jan 2026 13:35:06 +0000 (14:35 +0100)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Fri, 16 Jan 2026 14:03:51 +0000 (15:03 +0100)
The Linux support for dwc3 on Apple silicon SoCs switched to using a
apple specific glue driver [1] that uses it own compatible string. The
glue driver handles platform specific requirements on the interaction
between dwc3 and the USB2/USB3 PHY and reset-controller for USB role
switches and plug events.
To keep USB working as before when the nodes still carried "snps,dwc3"
as compatible add "apple,t8103-dwc3" to the of match table. Eventually
it is probably advisable to add a dwc3-apple glue driver and write code
for the currently empty Apple Type-C PHY driver in phy-apple-atc.c.

Link: https://lore.kernel.org/asahi/20251015-b4-aplpe-dwc3-v2-0-cbd65a2d511a@kernel.org/
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>
Signed-off-by: Janne Grunau <j@jannau.net>
drivers/usb/host/xhci-dwc3.c

index e3e0ceff43e6abdb8643f265819eff28c2c802f4..8ad07a4b98c9574a5fa0cbfe83f5567e0f49f364 100644 (file)
@@ -237,6 +237,7 @@ static int xhci_dwc3_remove(struct udevice *dev)
 }
 
 static const struct udevice_id xhci_dwc3_ids[] = {
+       { .compatible = "apple,t8103-dwc3" },
        { .compatible = "snps,dwc3" },
        { }
 };