[PATCH 0/3] arm64: dts: mediatek: mt8195: Fix and clean up xhci1

From: Chen-Yu Tsai
Date: Tue Jul 30 2024 - 23:44:35 EST


Hi everyone,

This series fixes and cleans up the representation of xhci1, whether
used in USB 2.0 only or USB 2.0 + 3.0 designs. This work is a result
of discussions from the original Kernel CI report [1] on xhci1 failing
to probe, and subsequent patches [2][3].

Patch 1 explicitly disables USB 3.0 on the Cherry design. The super
speed pairs are used for PCIe instead.

Patch 2 does the same for the Radxa Nio 12L.

Patch 3 rearranges the PHY assignment such that the default links both
USB 2.0 and USB 3.0 PHYs to the controller, and designs using only
USB 2.0 will override the PHY assignment and disable USB 3.0 together.

The first two patches are fixes and marked for stable. The third is
more of a cosmetic change.

Please have a look and merge.


Thanks
ChenYu


[1] https://lore.kernel.org/all/9fce9838-ef87-4d1b-b3df-63e1ddb0ec51@notapiano/
[2] https://lore.kernel.org/linux-mediatek/20240711093230.118534-1-angelogioacchino.delregno@xxxxxxxxxxxxx/
[3] https://lore.kernel.org/linux-mediatek/20240722-usb-1129-probe-pci-clk-fix-v1-1-99ea804228b6@xxxxxxxxxxxxx/

Chen-Yu Tsai (3):
arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled
arm64: dts: mediatek: mt8395-nio-12l: Mark USB 3.0 on xhci1 as
disabled
arm64: dts: mediatek: mt8195: Assign USB 3.0 PHY to xhci1 by default

arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 2 ++
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +-
arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts | 2 --
arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dts | 1 +
arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 2 ++
5 files changed, 6 insertions(+), 3 deletions(-)

--
2.46.0.rc1.232.g9752f9e123-goog