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
This commit is contained in:
Linyu Yuan
2022-01-12 15:12:59 +08:00
parent bf773017cc
commit c434013b4c
3 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@
pinctrl-names = "default";
pinctrl-0 = <&usb3phy_portselect_gpio>;
orientation_gpio = <&tlmm 122 0>;
gpios = <&tlmm 122 0>;
eq = /bits/ 8 <
/* Parameters for USB */

View File

@@ -36,7 +36,7 @@
pinctrl-names = "enable_gpio";
pinctrl-0 = <&usb3phy_portselect_gpio>;
orientation_gpio = <&tlmm 81 0>;
gpios = <&tlmm 81 0>;
eq = /bits/ 8 <
/* Parameters for USB */

View File

@@ -36,7 +36,7 @@
pinctrl-names = "enable_gpio";
pinctrl-0 = <&usb3phy_portselect_gpio>;
orientation_gpio = <&tlmm 81 0>;
gpios = <&tlmm 81 0>;
eq = /bits/ 8 <
/* Parameters for USB */