[PATCH v2 0/3] Add USB support for Mediatek MT8189 SoC

From: Louis-Alexis Eyraud

Date: Thu Dec 03 2026 - 08:37:48 EST


This patch series adds the USB support for Mediatek MT8189 SoC and its
variants (MT8371 and MT8391).

The MT8189 SoC has five USB controllers, with different
capabilities:
- 0: Supports USB 3.2 Gen1 and USB 2.0 dual role capability
- 1: Supports USB 2.0 host only capability
- 2: Supports USB 2.0 host only capability
- 3: Supports USB 3.2 Gen1 host only and USB 2.0 host only capability
- 4: Supports USB 2.0 host only capability
Only the first controller (0) is behind the Mediatek USB3 DRD
Controller (MTU3).

The series is a continuation of a previous one ([1]) that was never
completed. The review [2] points several required fixes but no new
revision was sent on mailing lists. Though, the MT8189 compatible
was added later to the Mediatek xHCI bindings as a patch by
23bba7f33bb1 ("dt-bindings: usb: Support MediaTek MT8189 xhci")
but the remote wakeup support changes in the xhci-mtk driver were
not submitted.

About the differences with [1], the original patch was rebased on
current linux-next tree. Its title and description were reworded
and the SSUSB_UWK_V1_10 definition value was modified so its matches
mediatek,syscon-wakeup parameter value defined for MT8189 in the
Mediatek xHCI bindings ([3]).
Since only one controller of the five is behind MTU3 controller,
as stated in review [2], new patches were added to add the MT8189
comptible and the remote wakeup support for MT8189 in the MTU3 bindings
and driver.

The series been tested with a kernel based on linux-next tree (tag:
next-20261202) on the Mediatek Genio 720-EVK (MT8391) and 520-EVK
(MT8371) boards.

[1]: https://lore.kernel.org/linux-mediatek/20251203013521.2038888-1-mingjin.ge@xxxxxxxxxxxx/
[2]: https://lore.kernel.org/linux-mediatek/a709ada6-eb68-4609-ae8c-b3bb8bcf01ae@xxxxxxxxxxxxx/
[3]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml?h=next-20261130#n172

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx>
---
Changes in v2:
- Rebased onto next-20261202
- Fixed in patch 1 the two issues detected by Sashiko for the
"mediatek,syscon-wakeup" parameter:
- new MT8189 value description
- preexisting enum indentation issue
- Link to v1: https://lore.kernel.org/r/20261202-mt8189-add-usb-support-v1-0-5749ab20ec84@xxxxxxxxxxxxx

---
Louis-Alexis Eyraud (2):
dt-bindings: usb: mtu3: Add support for MT8189 SoC
usb: mtu3: add MT8189 remote wakeup support

Mingjin Ge (1):
usb: xhci-mtk: add MT8189 remote wakeup support

Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml | 4 +++-
drivers/usb/host/xhci-mtk.c | 10 ++++++++++
drivers/usb/mtu3/mtu3_host.c | 10 ++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
---
base-commit: 368dbf53b0d21903f0b6d13a223c0a40ac7c2da8
change-id: 20261130-mt8189-add-usb-support-a283a5541769

Best regards,
--
Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx>