From ce1102440942b4c0ca79445d1ade90eb0eb6f5ca Mon Sep 17 00:00:00 2001 From: Uttkarsh Aggarwal Date: Thu, 23 Jun 2022 15:17:07 +0530 Subject: [PATCH] ARM: dts: msm: Add pin configuration for USB3 PHY portselect on Anorak TLMM pin 160 is used to notify the USB3/DP Combo PHY of the orientation in which PTN5150 detected the USB type-C connection. Select this pinctrl from the usb qmp dp phy device and verify it is set to the "usb0_phy" pin function for Anorak. Change-Id: I624ea54e99f0e292396e16ee41a252d1dea0a4cc --- qcom/anorak-pinctrl.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/qcom/anorak-pinctrl.dtsi b/qcom/anorak-pinctrl.dtsi index e8239902..cc6ac4d6 100644 --- a/qcom/anorak-pinctrl.dtsi +++ b/qcom/anorak-pinctrl.dtsi @@ -188,4 +188,19 @@ }; }; }; + + usb_phy_ps: usb_phy_ps { + usb3phy_portselect_default: usb3phy_portselect_default { + mux { + pins = "gpio160"; + function = "usb0_phy"; + }; + + config { + pins = "gpio160"; + bias-disable; + drive-strength = <2>; + }; + }; + }; };