[PATCH v2 0/2] usb: ehci-pci: Intel CE5300 TDI EHCI support

From: Joseph Telaak via B4 Relay

Date: Tue Oct 27 2026 - 19:38:48 EST


The TDI EHCI core in the Intel CE5300 SoCs needs two quirks: its PCI
config space has no EHCI registers at 0x60 (patch 1), and host mode
lives in USBMODE_EX rather than USBMODE (patch 2). Without them no
device is ever detected, and the controller is not stopped on
shutdown.

CONFIG_USB_EHCI_ROOT_HUB_TT=y is still required, as for any TDI
core. These are device quirks rather than regression fixes, so there
are no Fixes: tags; they may be suitable for stable if you think so.

Signed-off-by: Joseph Telaak <joseph@xxxxxxxxxx>
---
Changes in v2:
- 1/2: new; skip the SBRN and port-wake reads at PCI config
0x60-0x62, which this core doesn't have. A zero SBRN made
ehci_shutdown() a no-op. Adds the is_intel_ce_tdi() helper used
by 2/2.
- 2/2: tdi_in_host_mode() reads host mode back from USBMODE_EX on
this core (new has_usbmode_ex flag); in v1 ehci_halt() returned
without stopping the controller. Reported by the Sashiko AI review.
- Dropped CE2600 from the subjects: only the CE5300 was tested.
- Link to v1: https://patch.msgid.link/20261015-ehci-ce5300-hostpc-v1-1-3cae67c11946@xxxxxxxxxx

---
Joseph Telaak (2):
usb: ehci-pci: Skip SBRN and port-wake reads on Intel CE5300
usb: ehci-pci: Set has_hostpc for TDI EHCI on Intel CE5300

drivers/usb/host/ehci-hcd.c | 5 +++++
drivers/usb/host/ehci-pci.c | 22 +++++++++++++++++++++-
drivers/usb/host/ehci.h | 1 +
3 files changed, 27 insertions(+), 1 deletion(-)
---
base-commit: bbf6b99a57b2479bf51c3c8ad0946f4b8c33ed69
change-id: 20261015-ehci-ce5300-hostpc-8722cf06fc88

Best regards,
--
Joseph Telaak <joseph@xxxxxxxxxx>