projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0fa614
)
ARM: dts: dra71-evm: Add VBUS GPIO to USB1/USB2 extcon
author
Roger Quadros
<rogerq@ti.com>
Tue, 29 May 2018 09:00:57 +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/dra71-evm.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/dra71-evm.dts
b/arch/arm/boot/dts/dra71-evm.dts
index
b7aeaee
..
c471bf3
100644
(file)
--- a/
arch/arm/boot/dts/dra71-evm.dts
+++ b/
arch/arm/boot/dts/dra71-evm.dts
@@
-265,3
+265,11
@@
/* Supplied by VDA_1V8_PHY */
vdda_video-supply = <&lp8732_ldo1_reg>;
};
+
+&extcon_usb1 {
+ vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>;
+};
+
+&extcon_usb2 {
+ vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>;
+};