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

Commit f899045d authored by Linyu Yuan's avatar Linyu Yuan
Browse files

ARM: dts: msm: enable superspeed plus redriver on QRD

add gpio pinctrl state and initial redriver related setting.

Change-Id: I50c6705abb8e043d9adb887968f06a6a39f83e83
parent df251b84
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
@@ -188,3 +188,41 @@
&wil6210 {
	status = "ok";
};

&usb_qmp_dp_phy {
	pinctrl-names = "portselect";
};

&qupv3_se13_i2c {
	status = "ok";

	redriver: redriver@1c {
		compatible = "onnn,redriver";
		reg = <0x1c>;

		pinctrl-names = "enable_gpio";
		pinctrl-0 = <&usb3phy_portselect_gpio>;
		orientation_gpio = <&tlmm 81 0>;

		eq = /bits/ 8 <
				/* Parameters for USB */
				0x4 0x4 0x4 0x4
				/* Parameters for DP */
				0x6 0x4 0x4 0x6>;
		flat-gain = /bits/ 8 <
				/* Parameters for USB */
				0x3 0x1 0x1 0x3
				/* Parameters for DP */
				0x2 0x1 0x1 0x2>;
		output-comp = /bits/ 8 <
				/* Parameters for USB */
				0x3 0x3 0x3 0x3
				/* Parameters for DP */
				0x3 0x3 0x3 0x3>;
		loss-match = /bits/ 8 <
				/* Parameters for USB */
				0x1 0x3 0x3 0x1
				/* Parameters for DP */
				0x3 0x3 0x3 0x3>;
	};
};