[PATCH v2] arm64: dts: mediatek: mt8390-genio-common: Set ssusb2 default dual role mode to host

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue May 6 01:42:52 PDT 2025


On Fri, 02 May 2025 15:17:19 +0200, Louis-Alexis Eyraud wrote:
> On the Mediatek Genio 510-EVK and 700-EVK boards, ssusb2 controller is
> one but has two ports: one is routed to the M.2 slot, the other is on
> the RPi header who does support full OTG.
> Since Mediatek Genio 700-EVK USB support was added, dual role mode
> property is set to otg for ssusb2. This config prevents the M.2
> Wifi/Bluetooth module, present on those boards and exposing Bluetooth
> as an USB device to be properly detected at startup as the default role
> is device.
> To keep the OTG functionality and make the M.2 module be detected at
> the same time, add role-switch-default-mode property set to host and
> also fix the polarity of GPIO associated to the USB connector, so the
> ssusb2 controller role is properly set to host when the other port is
> unused.
> 
> [...]

Applied to v6.15-next/dts64, thanks!

[1/1] arm64: dts: mediatek: mt8390-genio-common: Set ssusb2 default dual role mode to host
      commit: f9167f15dd4e70b124023a2f7ba2b09401b3b6ff

Cheers,
Angelo





More information about the Linux-mediatek mailing list