Commit 45219a6b authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Bjorn Andersson

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: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230816115151.501736-8-bryan.odonoghue@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 25defdca
...@@ -1295,6 +1295,11 @@ &usb_1_qmpphy { ...@@ -1295,6 +1295,11 @@ &usb_1_qmpphy {
vdda-phy-supply = <&vreg_l9a_1p2>; vdda-phy-supply = <&vreg_l9a_1p2>;
vdda-pll-supply = <&vreg_l18a_0p92>; vdda-pll-supply = <&vreg_l18a_0p92>;
orientation-switch;
};
&usb_1_qmpphy_out {
remote-endpoint = <&pm8150b_typec_mux_in>;
}; };
&usb_2 { &usb_2 {
...@@ -1379,6 +1384,13 @@ pm8150b_role_switch_in: endpoint { ...@@ -1379,6 +1384,13 @@ pm8150b_role_switch_in: endpoint {
remote-endpoint = <&usb_1_role_switch_out>; remote-endpoint = <&usb_1_role_switch_out>;
}; };
}; };
port@1 {
reg = <1>;
pm8150b_typec_mux_in: endpoint {
remote-endpoint = <&usb_1_qmpphy_out>;
};
};
}; };
}; };
}; };
...@@ -3894,6 +3894,7 @@ ports { ...@@ -3894,6 +3894,7 @@ ports {
port@0 { port@0 {
reg = <0>; reg = <0>;
usb_1_qmpphy_out: endpoint {};
}; };
port@1 { port@1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment