diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2023-08-16 14:51:51 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-09-20 04:19:33 +0300 |
commit | 45219a6b9497cb7713dd2bc221248ee1a7e9bb3d (patch) | |
tree | e6a786ff65d381bb6750f8fd46278ffa251a2d51 /arch/arm64/boot/dts/qcom | |
parent | 25defdca4d902b338c05bc01a1de1064a6d3b7f3 (diff) | |
download | linux-45219a6b9497cb7713dd2bc221248ee1a7e9bb3d.tar.xz |
arm64: dts: qcom: qrb5165-rb5: Switch on TCPM orientation-switch for usb_1_qmpphy
Switch on USB orientation-switching for usb_1_qmp via TCPM. Detecting the
orientation switch is required to get the PHY to reset and bring-up the PHY
with the CC lines set to the appropriate lane.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230816115151.501736-8-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom')
-rw-r--r-- | arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 12 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index c788133d23e8..303d07f9c6e5 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -1295,6 +1295,11 @@ vdda-phy-supply = <&vreg_l9a_1p2>; vdda-pll-supply = <&vreg_l18a_0p92>; + orientation-switch; +}; + +&usb_1_qmpphy_out { + remote-endpoint = <&pm8150b_typec_mux_in>; }; &usb_2 { @@ -1379,6 +1384,13 @@ remote-endpoint = <&usb_1_role_switch_out>; }; }; + + port@1 { + reg = <1>; + pm8150b_typec_mux_in: endpoint { + remote-endpoint = <&usb_1_qmpphy_out>; + }; + }; }; }; }; diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 28f977785dcc..544850fb73ab 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3894,6 +3894,7 @@ port@0 { reg = <0>; + usb_1_qmpphy_out: endpoint {}; }; port@1 { |