arm64: dts: qcom: kaanapali: Add mode-switch to the USB controller
PATCH v3 1/1 arm64: dts: qcom: kaanapali: Add mode-switch to the USB controller
When the USB3-DP combo PHY is a mode switch, DisplayPort pin assignments C and E put it in DP-only mode, where it stops the USB3 PIPE clock. Add mode-switch to the USB controller as well, so that it gets the Type-C mode, moves to the UTMI clock first and keeps its USB 2.0 port working.
---
Depends on:
- "usb: dwc3: qcom: Keep USB 2.0 working in DisplayPort-only modes", which adds the binding and registers the mux in dwc3-qcom. Without it, pmic_glink_altmode defers its probe indefinitely:
https://lore.kernel.org/all/[email protected]/
- patch 3 of Balaji Kalkonda's Kaanapali DisplayPort series, which makes usb_dp_qmpphy a mode switch:
https://lore.kernel.org/all/[email protected]/
- with dwc3-qcom built as a module, Yongxing Mou's "drm/bridge:
aux-hpd-bridge: replay last HPD status on hpd_enable", or a monitor attached at boot is not detected:
https://lore.kernel.org/all/[email protected]/
Changes in v3:
- Sent on its own, split from the dwc3 series (Krzysztof)
- Subject and message: the controller gets the mode, it does not switch anything
- v2: https://lore.kernel.org/all/[email protected]/
arch/arm64/boot/dts/qcom/kaanapali.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/kaanapali.dtsi +1 -0
@@ -3941,6 +3941,7 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, tx-fifo-resize; dma-coherent; + mode-switch; usb-role-switch; wakeup-source;
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
prerequisite-patch-id: a793fca7329dac964c21459f8d7a8b003d36d84d
prerequisite-patch-id: 0f4b3497a5b65f978f8ee3de20953e111d9a4721
prerequisite-patch-id: c6020a82fa07088ac3e07cc89d3059fff044d39e
Signature · 1 line
2.43.0