mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
To: Chunfeng Yun <chunfeng.yun@mediatek.com>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 Matthias Brugger <matthias.bgg@gmail.com>,
	 AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	 Mathias Nyman <mathias.nyman@intel.com>
Cc: kernel@collabora.com, linux-usb@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,  devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	 Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>,
	 Mingjin Ge <mingjin.ge@mediatek.com>
Subject: [PATCH 0/3] Add USB support for Mediatek MT8189 SoC
Date: Wed, 02 Dec 2026 13:55:05 +0100	[thread overview]
Message-ID: <20261202-mt8189-add-usb-support-v1-0-5749ab20ec84@collabora.com> (raw)

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>


             reply	other threads:[~2026-12-02 12:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 12:55 Louis-Alexis Eyraud [this message]
2026-12-02 12:55 ` [PATCH 1/3] dt-bindings: usb: mtu3: Add support for " Louis-Alexis Eyraud
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261202-mt8189-add-usb-support-v1-0-5749ab20ec84@collabora.com \
    --to=louisalexis.eyraud@collabora.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chunfeng.yun@mediatek.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel@collabora.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=matthias.bgg@gmail.com \
    --cc=mingjin.ge@mediatek.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®