[PATCH] usb: ehci-pci: Set has_hostpc for TDI EHCI on Intel CE5300/CE2600
From: Joseph Telaak via B4 Relay
Date: Thu Oct 15 2026 - 21:12:42 EST
From: Joseph Telaak <joseph@xxxxxxxxxx>
The TransDimension EHCI core in the Intel CE5300 and CE2600 SoCs
(192e:0101, revision >= 6) has the Moorestown-style register
extensions: host mode is selected in USBMODE_EX rather than USBMODE,
and the port speed is reported in HOSTPC.
Without has_hostpc, ehci_reset() never programs USBMODE_EX, so the
core stays in idle mode: USBMODE_EX reads back 0, USBCMD.RS never
sets and no device is ever reported as connected, even though the
probe itself succeeds. With it, USBMODE_EX reads back 0x23 and
devices enumerate.
Intel's CE5300 BSP applies the same quirk for device 0x0101,
revision >= 6.
Tested on a Control4 EA-3 (Intel Atom CE5310) with v7.3-rc6: a
full-speed CP2104 USB-UART bridge (10c4:ea60) and a high-speed USB
flash drive (0781:5575) enumerate with this change.
Assisted-by: LLM
Signed-off-by: Joseph Telaak <joseph@xxxxxxxxxx>
---
Notes:
- CONFIG_USB_EHCI_ROOT_HUB_TT=y is still required, as for any TDI
core; without it ehci_halt() times out (-110) on the idle core
before this code runs.
- has_tdi_phy_lpm is left at 0 on this path, matching Intel's BSP.
- This is a device quirk rather than a regression fix, so there is
no Fixes: tag; it may be suitable for stable if you think so.
---
drivers/usb/host/ehci-pci.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index bd3a635555..8c71c3de30 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -145,8 +145,16 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
hcd->has_tt = 1;
break;
case PCI_VENDOR_ID_TDI:
- if (pdev->device == PCI_DEVICE_ID_TDI_EHCI)
+ if (pdev->device == PCI_DEVICE_ID_TDI_EHCI) {
hcd->has_tt = 1;
+ /*
+ * The TDI core in the Intel CE5300/CE2600 (rev >= 6)
+ * selects host mode in USBMODE_EX and reports port
+ * speed in HOSTPC, as on Moorestown.
+ */
+ if (pdev->revision >= 0x6)
+ ehci->has_hostpc = 1;
+ }
break;
case PCI_VENDOR_ID_AMD:
/* AMD PLL quirk */
---
base-commit: bbf6b99a57b2479bf51c3c8ad0946f4b8c33ed69
change-id: 20261015-ehci-ce5300-hostpc-8722cf06fc88
Best regards,
--
Joseph Telaak <joseph@xxxxxxxxxx>