On 1/9/26 8:41 PM, Janne Grunau wrote:
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/[email protected]/
[1]
Signed-off-by: Janne Grunau <[email protected]>
---
drivers/usb/host/xhci-dwc3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c
index
e3e0ceff43e6abdb8643f265819eff28c2c802f4..ba42c3247654b7d9272c42ea9c4cf0bd9082915e
100644
--- a/drivers/usb/host/xhci-dwc3.c
+++ b/drivers/usb/host/xhci-dwc3.c
@@ -238,6 +238,7 @@ static int xhci_dwc3_remove(struct udevice *dev)
static const struct udevice_id xhci_dwc3_ids[] = {
{ .compatible = "snps,dwc3" },
+ { .compatible = "apple,t8103-dwc3" },
Please keep the list sorted.
With that fixed:
Reviewed-by: Marek Vasut <[email protected]>
Thank you !