arm64: dts: qcom: shikra-cqs/cqm: Add Type-C support on primary controller
PATCH 1/1 arm64: dts: qcom: shikra-cqs/cqm: Add Type-C support on primary controller
On Shikra CQS/CQM platforms, usb role switching and Type-C orientation switching for primary usb controller is handled by PM4125. Enable the PM4125 Typec node and add remote endpoints appropriately.
---
This series has been rebased on top of (acked series):
https://lore.kernel.org/all/[email protected]/
--- arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts | 20 ++++++++++++++ arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi | 41 ++++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts | 20 ++++++++++++++ 3 files changed, 81 insertions(+)
arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts +20 -0
@@ -23,6 +23,14 @@ chosen { }; }; +&pm4125_hs_in { + remote-endpoint = <&usb_1_dwc3_hs>; +}; + +&pm4125_ss_in { + remote-endpoint = <&usb_qmpphy_out>; +}; + &remoteproc_cdsp { firmware-name = "qcom/shikra/cdsp.mbn";
@@ -58,6 +66,14 @@ &sdhc_1 { status = "okay"; }; +&usb_1 { + dr_mode = "otg"; +}; + +&usb_1_dwc3_hs { + remote-endpoint = <&pm4125_hs_in>; +}; + &usb_1_hsphy { vdd-supply = <&pm4125_l12>; vdda-pll-supply = <&pm4125_l13>;
@@ -73,6 +89,10 @@ &usb_qmpphy { status = "okay"; }; +&usb_qmpphy_out { + remote-endpoint = <&pm4125_ss_in>; +}; + &usb_2_hsphy { vdd-supply = <&pm4125_l12>; vdda-pll-supply = <&pm4125_l13>;
arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi +41 -0
47 lines not on this page · raw message
arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts +20 -0
@@ -23,6 +23,14 @@ chosen { }; }; +&pm4125_hs_in { + remote-endpoint = <&usb_1_dwc3_hs>; +}; + +&pm4125_ss_in { + remote-endpoint = <&usb_qmpphy_out>; +}; + &remoteproc_cdsp { firmware-name = "qcom/shikra/cdsp.mbn";
@@ -58,6 +66,14 @@ &sdhc_1 { status = "okay"; }; +&usb_1 { + dr_mode = "otg"; +}; + +&usb_1_dwc3_hs { + remote-endpoint = <&pm4125_hs_in>; +}; + &usb_1_hsphy { vdd-supply = <&pm4125_l12>; vdda-pll-supply = <&pm4125_l13>;
@@ -73,6 +89,10 @@ &usb_qmpphy { status = "okay"; }; +&usb_qmpphy_out { + remote-endpoint = <&pm4125_ss_in>; +}; + &usb_2_hsphy { vdd-supply = <&pm4125_l12>; vdda-pll-supply = <&pm4125_l13>;
---
base-commit: 72d06ed137fd7c3a6628577ff4c3bebc7932937e
change-id: 20260812-pm4125_typec_changes-270965b03486
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: c6f8b2af575482db2b63bb1050f52b21a7879e0e
prerequisite-patch-id: b9197f0bff253726d4d5a1d4e0a5e1f193265e6b
Best regards,
Signature · 1 line
Krishna Kurapati <[email protected]>
Quoted 7 lines · Krishna Kurapati
On Shikra CQS/CQM platforms, usb role switching and Type-C orientation switching for primary usb controller is handled by PM4125. Enable the PM4125 Typec node and add remote endpoints appropriately.
Co-developed-by Rakesh Kota <[email protected]>Signed-off-by Rakesh Kota <[email protected]>Signed-off-by Krishna Kurapati <[email protected]>
Quoted 3 lines · Krishna Kurapati
On Shikra CQS/CQM platforms, usb role switching and Type-C orientation switching for primary usb controller is handled by PM4125. Enable the PM4125 Typec node and add remote endpoints appropriately.
Applied, thanks!
[1/1] arm64: dts: qcom: shikra-cqs/cqm: Add Type-C support on primary controller
commit: 7086cc13810b9f68257c40cfd1abbb675ea381e9
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>