2014-02-27 15:45:17

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH] Doc: USB: gadget: atmel_usba correct atmel,vbus-gpio meaning

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

Signed-off-by: Alexandre Belloni <[email protected]>
---
Documentation/devicetree/bindings/usb/atmel-usb.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt
index 55f51af08bc7..bc2222ca3f2a 100644
--- a/Documentation/devicetree/bindings/usb/atmel-usb.txt
+++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt
@@ -57,8 +57,8 @@ Required properties:
- ep childnode: To specify the number of endpoints and their properties.

Optional properties:
- - atmel,vbus-gpio: If present, specifies a gpio that needs to be
- activated for the bus to be powered.
+ - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whether
+ vbus is present (USB is connected).

Required child node properties:
- name: Name of the endpoint.
--
1.8.3.2


2014-02-28 14:36:53

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] Doc: USB: gadget: atmel_usba correct atmel,vbus-gpio meaning

On 27/02/2014 16:45, Alexandre Belloni :
> atmel,at91sam9rl-udc is a USB gadget, it has now means to control vbus.

s/now/no/

> atmel,vbus-gpio is in fact used to detect the presence of vbus.
>
> Signed-off-by: Alexandre Belloni <[email protected]>

Acked-by: Nicolas Ferre <[email protected]>

> ---
> Documentation/devicetree/bindings/usb/atmel-usb.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt
> index 55f51af08bc7..bc2222ca3f2a 100644
> --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt
> +++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt
> @@ -57,8 +57,8 @@ Required properties:
> - ep childnode: To specify the number of endpoints and their properties.
>
> Optional properties:
> - - atmel,vbus-gpio: If present, specifies a gpio that needs to be
> - activated for the bus to be powered.
> + - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whether
> + vbus is present (USB is connected).
>
> Required child node properties:
> - name: Name of the endpoint.
>


--
Nicolas Ferre