Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: at91/DT: atmel_usba correct atmel,vbus-gpio meaning

atmel,at91sam9rl-udc is a USB gadget, it has no means to control vbus.
atmel,vbus-gpio is in fact used to detect the presence of vbus.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
[nicolas.ferre@atmel.com: modify the commit message]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

authored by

Alexandre Belloni and committed by
Nicolas Ferre
028ab4d0 e8b2da6e

+2 -2
+2 -2
Documentation/devicetree/bindings/usb/atmel-usb.txt
··· 57 57 - ep childnode: To specify the number of endpoints and their properties. 58 58 59 59 Optional properties: 60 - - atmel,vbus-gpio: If present, specifies a gpio that needs to be 61 - activated for the bus to be powered. 60 + - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whether 61 + vbus is present (USB is connected). 62 62 63 63 Required child node properties: 64 64 - name: Name of the endpoint.