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

Commit a49c5527 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 28ffcbdf f899045d
Loading
Loading
Loading
Loading
+29 −13
Original line number Diff line number Diff line
@@ -2926,19 +2926,6 @@
				};
			};
		};

		usb3phy_portselect_default: usb3phy_portselect_default {
			mux {
				pins = "gpio81";
				function = "usb_phy";
			};

			config {
				pins = "gpio81";
				bias-disable;
				drive-strength = <2>;
			};
		};
	};

	pmx_sde: pmx_sde {
@@ -3591,4 +3578,33 @@
			};
		};
	};

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

			config {
				pins = "gpio81";
				bias-disable;
				drive-strength = <2>;
			};
		};

		usb3phy_portselect_gpio: usb3phy_portselect_gpio {
			mux {
				pins = "gpio81";
				function = "gpio";
			};

			config {
				pins = "gpio81";
				drive-strength = <2>;
				bias-pull-up;
				input-enable;
			};
		};
	};
};
+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>;
	};
};