Linux USB
 help / color / mirror / Atom feed
* [PATCH 0/3] Add USB support for Mediatek MT8189 SoC
@ 2026-12-02 12:55 Louis-Alexis Eyraud
  2026-12-02 12:55 ` [PATCH 1/3] dt-bindings: usb: mtu3: Add support for " Louis-Alexis Eyraud
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Louis-Alexis Eyraud @ 2026-12-02 12:55 UTC (permalink / raw)
  To: Chunfeng Yun, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Mathias Nyman
  Cc: kernel, linux-usb, linux-arm-kernel, linux-mediatek, devicetree,
	linux-kernel, Louis-Alexis Eyraud, Mingjin Ge

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-20261201) on the Mediatek Genio 720-EVK (MT8391) and 520-EVK
(MT8371) boards.

[1]: https://lore.kernel.org/linux-mediatek/20251203013521.2038888-1-mingjin.ge@mediatek.com/
[2]: https://lore.kernel.org/linux-mediatek/a709ada6-eb68-4609-ae8c-b3bb8bcf01ae@collabora.com/
[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@collabora.com>
---
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: 7de7fb8ebb0c9ebc7ad6677974d715ee630496ea
change-id: 20261130-mt8189-add-usb-support-a283a5541769

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


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

end of thread, other threads:[~2026-12-02 13:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 12:55 [PATCH 0/3] Add USB support for Mediatek MT8189 SoC Louis-Alexis Eyraud
2026-12-02 12:55 ` [PATCH 1/3] dt-bindings: usb: mtu3: Add support for " Louis-Alexis Eyraud
2026-12-02 13:08   ` sashiko-bot
2026-12-02 12:55 ` [PATCH 2/3] usb: mtu3: add MT8189 remote wakeup support Louis-Alexis Eyraud
2026-12-02 12:55 ` [PATCH 3/3] usb: xhci-mtk: " Louis-Alexis Eyraud
2026-12-02 13:08 ` [PATCH 0/3] Add USB support for Mediatek MT8189 SoC sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox