From: Joonhoe Kim <26rote@gmail.com>
To: andersson@kernel.org, konradybcio@kernel.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
abel.vesa@oss.qualcomm.com, abelvesa@kernel.org,
konrad.dybcio@oss.qualcomm.com,
dmitry.baryshkov@oss.qualcomm.com,
balaji.kalkonda@oss.qualcomm.com, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3] arm64: dts: qcom: kaanapali: Add mode-switch to the USB controller
Date: Thu, 12 Nov 2026 20:39:21 +0900 [thread overview]
Message-ID: <20261112113921.1143-1-26rote@gmail.com> (raw)
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.
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Joonhoe Kim <26rote@gmail.com>
---
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/20261112113838.506-1-26rote@gmail.com/
- patch 3 of Balaji Kalkonda's Kaanapali DisplayPort series, which
makes usb_dp_qmpphy a mode switch:
https://lore.kernel.org/all/20261022-kaanapali_dp-v3-3-b5ae8e6083c3@oss.qualcomm.com/
- 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/20260803-drm-usbdp-preboot-v1-1-2539b362be00@oss.qualcomm.com/
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/20261103135057.1682-4-26rote@gmail.com/
arch/arm64/boot/dts/qcom/kaanapali.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
index e48a179d0722..a06d5d867488 100644
--- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
+++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
@@ -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
--
2.43.0
reply other threads:[~2026-11-12 11:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261112113921.1143-1-26rote@gmail.com \
--to=26rote@gmail.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=balaji.kalkonda@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®