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

TLMM pin 81 is used to indicate to the USB3/DP Combo PHY the
orientation that which the PMIC detected a USB-C connection.
Select this pinctrl from the usb_qmp_dp_phy device and ensure
it is selecting the "usb_phy" pin function.

Change-Id: I2429bcaf28dfb8a570feab31955b595adfd0b215
This commit is contained in:
Jack Pham 2020-01-28 19:22:18 -08:00 • committed by Gerrit - the friendly Code Review server
commit c5ee895337
2 changed files with 17 additions and 0 deletions

View file

@ -2926,6 +2926,19 @@
};
};
};
usb3phy_portselect_default: usb3phy_portselect_default {
mux {
pins = "gpio81";
function = "usb_phy";
};
config {
pins = "gpio81";
bias-disable;
drive-strength = <2>;
};
};
};
pmx_sde: pmx_sde {

View file

@ -145,6 +145,10 @@
resets = <&clock_gcc GCC_USB3_DP_PHY_PRIM_BCR>,
<&clock_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