Files
kernel_xiaomi_sm8450-device…/qcom/lahaina-qrd-module.dtsi
Linyu Yuan c434013b4c ARM: dts: qcom: fix orientation not work on Diwali QRD
the of_get_gpio() looks for gpios property in the device node,
this API is used by the re-driver to get the orientation gpio,
however we are using orientation-gpio,
this break orientation detection on QRD platforms.

change to gpios property to allow API can get a correct gpio.

Change-Id: I9b9e35f0f9b53117b4165621a29d5234850ac945
2022-01-12 15:45:43 +08:00

63 lines
1.0 KiB
Plaintext

#include "lahaina-qrd-common.dtsi"
&usb1 {
status = "disabled";
};
&usb2_phy1 {
status = "disabled";
};
&usb_qmp_phy {
status = "disabled";
};
&usb2_phy0 {
qcom,param-override-seq =
<0xe6 0x6c
0x0f 0x70
0x17 0x74>;
};
&usb_qmp_dp_phy {
pinctrl-names = "portselect";
};
&usb0 {
ssusb_redriver = <&redriver>;
};
&qupv3_se13_i2c {
status = "ok";
redriver: redriver@1c {
compatible = "onnn,redriver";
reg = <0x1c>;
pinctrl-names = "enable_gpio";
pinctrl-0 = <&usb3phy_portselect_gpio>;
gpios = <&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>;
};
};