mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 14:44:08 +00:00
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:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user