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

This commit is contained in:
QCTECMDR Service
2024-11-22 05:54:04 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 30 additions and 0 deletions

View File

@@ -1972,7 +1972,34 @@
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 */
pmx_ts_active {
ts_active: ts_active {

View File

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