arm64: dts: mediatek: mt8390-genio-common: USB fixes
Status from this message: Applied to v7.4-next/dts64, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyApplied
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- 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/[email protected]/
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: dts: mediatek: mt8390-genio-common: Fix type C port mode and connectionarch/ | +30 | 0 replies | |
| 2/3 | arm64: dts: mediatek: mt8390-genio-common: Split out USB hub enable pin muxarch/ | +9 | 0 replies | |
| 3/3 | arm64: dts: mediatek: mt8390-genio-common: Fix swapped USB hub labelsarch/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] arm64: dts: mediatek: mt8390-genio-common: USB fixes
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/[email protected]/
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/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
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(-)
Signature · 1 line
2.56.0.455.g6c5a503b38-goog