[PATCH v2 0/3] arm64: dts: mediatek: mt8390-genio-common: USB fixes
Chen-Yu Tsai
wenst at chromium.org
Thu Nov 5 22:06:17 PST 2026
Hi,
This is v2 of the Genio 510 / 700 EVK USB fixes that came out of the
MTK XHCI binding fix [1].
Changes since v1:
- Patch 1 now also switches the type C port to a source-only port, and
limits the source PDO to 5V 1A, matching the hardware (Sashiko)
- Patch 1 now connects the SuperSpeed and HighSpeed lines to the
correct USB hubs
- New patch 3 fixing swapped USB hub labels
- Link to v1: https://lore.kernel.org/all/20261103083335.2944847-1-wenst@chromium.org/
Patch 1 corrects the USB type C port: the controller operates in host
mode only, the data lines go through the onboard USB hub, and the port
can only source power (5V 1A). The block diagrams for both the Genio
700 EVK and Genio 510 EVK were used as reference.
Patch 1 depends on "dt-bindings: usb: ti,usb8041: Fold in TI USB8020B" [2]
to allow graph ports under the TI USB8020B hub nodes. Without it,
dtbs_check will complain about the new "ports" nodes.
Patch 2 moves the pin mux for the USB hub supply enable pin to the
regulator.
Patch 3 fixes the swapped labels for the USB 2.0 and USB 3.0 hub nodes.
I don't have the actual board to test this on. The changes were only
compile tested.
This v2 patch series was partially put together using LLM. v1 was done
by hand. Sashiko review comments were fed to the LLM, as well as the
datasheet for TI USB8020B. I manually checked the PIDs in the datasheet
before giving the datasheet to the LLM. Same goes for the board block
diagrams. The changelogs in each patch and in the cover letter were
also put together using LLM.
Also, the LLM seems to do a decent job at mimicking my writing style,
even though it's a bit more verbose than what I'd go for.
ChenYu
[1] https://lore.kernel.org/all/20260916075745.3549953-11-wenst@chromium.org/
[2] https://lore.kernel.org/all/20261103095425.3097720-1-wenst@chromium.org/
Chen-Yu Tsai (3):
arm64: dts: mediatek: mt8390-genio-common: Fix type C port mode and
connection
arm64: dts: mediatek: mt8390-genio-common: Split out USB hub enable
pin mux
arm64: dts: mediatek: mt8390-genio-common: Fix swapped USB hub labels
.../dts/mediatek/mt8390-genio-common.dtsi | 76 +++++++++++--------
1 file changed, 43 insertions(+), 33 deletions(-)
--
2.56.0.455.g6c5a503b38-goog
More information about the Linux-mediatek
mailing list