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

Commit c5ee8953 authored by Jack Pham's avatar Jack Pham Committed by Gerrit - the friendly Code Review server
Browse files

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
parent e17a20b5
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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 {
+4 −0
Original line number Diff line number Diff line
@@ -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