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

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 Kera.

Change-Id: Ib4c9b61a36473dc6a00cf7a271c54f2245d4f9d8
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
This commit is contained in:
Uttkarsh Aggarwal
2024-12-20 14:12:20 +05:30
parent d64609da99
commit 9f99f6782e
2 changed files with 33 additions and 0 deletions

View File

@@ -1860,6 +1860,36 @@
}; };
}; };
}; };
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

@@ -147,6 +147,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