All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: ehci-pci: Intel CE5300 TDI EHCI support
@ 2026-10-27 23:38 ` Joseph Telaak via B4 Relay
  0 siblings, 0 replies; 8+ messages in thread
From: Joseph Telaak @ 2026-10-27 23:38 UTC (permalink / raw)
  To: Alan Stern, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel, Joseph Telaak

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@telaak.dev>
---
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@telaak.dev

---
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@telaak.dev>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-10-27 23:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27 23:38 [PATCH v2 0/2] usb: ehci-pci: Intel CE5300 TDI EHCI support Joseph Telaak
2026-10-27 23:38 ` Joseph Telaak via B4 Relay
2026-10-27 23:38 ` [PATCH v2 1/2] usb: ehci-pci: Skip SBRN and port-wake reads on Intel CE5300 Joseph Telaak
2026-10-27 23:38   ` Joseph Telaak via B4 Relay
2026-10-27 23:41   ` sashiko-bot
2026-10-27 23:38 ` [PATCH v2 2/2] usb: ehci-pci: Set has_hostpc for TDI EHCI " Joseph Telaak
2026-10-27 23:38   ` Joseph Telaak via B4 Relay
2026-10-27 23:44   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.