From f899045dbdbf20ccbed06c9dff034cb09818e304 Mon Sep 17 00:00:00 2001 From: Linyu Yuan Date: Sat, 25 Apr 2020 15:30:43 +0800 Subject: [PATCH] ARM: dts: msm: enable superspeed plus redriver on QRD add gpio pinctrl state and initial redriver related setting. Change-Id: I50c6705abb8e043d9adb887968f06a6a39f83e83 --- qcom/lahaina-qrd.dtsi | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/qcom/lahaina-qrd.dtsi b/qcom/lahaina-qrd.dtsi index b82485af6e07..e16a96c4be19 100644 --- a/qcom/lahaina-qrd.dtsi +++ b/qcom/lahaina-qrd.dtsi @@ -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>; + }; +};