Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64d7119b authored by Udipto Goswami's avatar Udipto Goswami
Browse files

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

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: I169bf35434aa2667338089a71ad8a5f90f92d62b
parent 89041362
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -2793,5 +2793,20 @@
				};
			};
		};

		usb_phy_ps: usb_phy_ps {
			usb3phy_portselect_default: usb3phy_portselect_default {
				mux {
					pins = "gpio140";
					function = "usb_phy";
				};

				config {
					pins = "gpio140";
					bias-disable;
					drive-strength = <2>;
				};
			};
		};
	};
};
+3 −0
Original line number Diff line number Diff line
@@ -131,6 +131,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