From 17849691a95e033d83bc2481173dd665b6525daa Mon Sep 17 00:00:00 2001 From: Udipto Goswami Date: Sat, 28 Dec 2024 16:01:01 +0530 Subject: [PATCH] ARM: dts: msm: Enable nb7vpq904m redriver on Kera QRD platfrom Add nb7vpq904m related configurations including i2c device, pinctrl, gpio and register sequences. Change-Id: I781e670f14fa9658003e397233b5a91068f75729 Signed-off-by: Udipto Goswami --- qcom/kera-qrd.dtsi | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/qcom/kera-qrd.dtsi b/qcom/kera-qrd.dtsi index 6981e8c7..0167d656 100644 --- a/qcom/kera-qrd.dtsi +++ b/qcom/kera-qrd.dtsi @@ -118,3 +118,54 @@ &pm8550ve_f_die_temp { status = "disabled"; }; + +&qupv3_se4_i2c { + status = "ok"; + + #address-cells = <1>; + #size-cells = <0>; + redriver: redriver@1c { + compatible = "onnn,redriver"; + reg = <0x1c>; + + vdd-supply = <&L7B>; + + lane-channel-swap; + + eq = /bits/ 8 < + /* Parameters for USB */ + 0x4 0x4 0x4 0x4 + /* Parameters for DP */ + 0x5 0x7 0x7 0x5>; + flat-gain = /bits/ 8 < + /* Parameters for USB */ + 0x3 0x1 0x1 0x3 + /* Parameters for DP */ + 0x0 0x3 0x3 0x0>; + 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>; + }; +}; + +&usb_qmp_dp_phy { + pinctrl-names = "unused"; +}; + +&usb0 { + pinctrl-names = "default"; + pinctrl-0 = <&usb3phy_portselect_gpio>; + gpios = <&tlmm 122 0>; + + ssusb_redriver = <&redriver>; + + qcom,wcd_usbss = <&wcd_usbss>; + +};