OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a78936f
)
ARM: dts: dra76-evm: Add VBUS GPIO to USB1/USB2 extcon
author
Roger Quadros
<rogerq@ti.com>
Tue, 29 May 2018 09:00:58 +0000
(12:00 +0300)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 3 Jul 2018 06:50:33 +0000
(23:50 -0700)
The board has USB VBUS detection available over GPIO. Plug it to
extcon node of USB1 and USB2 ports.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra76-evm.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/dra76-evm.dts
b/arch/arm/boot/dts/dra76-evm.dts
index
c07f005
..
f983cfd
100644
(file)
--- a/
arch/arm/boot/dts/dra76-evm.dts
+++ b/
arch/arm/boot/dts/dra76-evm.dts
@@
-436,3
+436,11
@@
phys = <&pcie1_phy>, <&pcie2_phy>;
phy-names = "pcie-phy0", "pcie-phy1";
};
+
+&extcon_usb1 {
+ vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>;
+};
+
+&extcon_usb2 {
+ vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>;
+};