ARM: dts: msm: Add pin configuration for USB3 PHY portselect on Tuna

TLMM pin is used to notify USB3/DP Combo PHY about the
orientation. Select this pinctrl from the usb_qmp_dp_phy
and ensure it is selecting the "usb0_phy_ps" pin function for Tuna.

Change-Id: I69f4004b00dcba0140871171b6c8b08471ae6aee
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
This commit is contained in:
Uttkarsh Aggarwal
2024-10-18 15:19:45 +05:30
committed by Rohit Jadhav
parent 8b1c694a87
commit fccbac3614
2 changed files with 30 additions and 0 deletions

View File

@@ -1972,7 +1972,34 @@
drive-strength = <2>; drive-strength = <2>;
}; };
}; };
usb_phy_ps: usb_phy_ps {
usb3phy_portselect_default: usb3phy_portselect_default {
mux {
pins = "gpio122";
function = "usb0_phy_ps";
};
config {
pins = "gpio122";
bias-pull-down;
drive-strength = <2>;
};
};
usb3phy_portselect_gpio: usb3phy_portselect_gpio {
mux {
pins = "gpio122";
function = "gpio";
};
config {
pins = "gpio122";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
};
};
/* touchscreen pins */ /* touchscreen pins */
pmx_ts_active { pmx_ts_active {
ts_active: ts_active { ts_active: ts_active {

View File

@@ -152,6 +152,9 @@
<&gcc GCC_USB3_PHY_PRIM_BCR>; <&gcc GCC_USB3_PHY_PRIM_BCR>;
reset-names = "global_phy_reset", "phy_reset"; reset-names = "global_phy_reset", "phy_reset";
pinctrl-names = "default";
pinctrl-0 = <&usb3phy_portselect_default>;
qcom,qmp-phy-reg-offset = qcom,qmp-phy-reg-offset =
<USB3_DP_PCS_PCS_STATUS1 <USB3_DP_PCS_PCS_STATUS1
USB3_DP_PCS_USB3_AUTONOMOUS_MODE_CTRL USB3_DP_PCS_USB3_AUTONOMOUS_MODE_CTRL