diff mbox

Doc: USB: gadget: atmel_usba correct atmel,vbus-gpio meaning

Message ID 1393515910-15837-1-git-send-email-alexandre.belloni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alexandre Belloni Feb. 27, 2014, 3:45 p.m. UTC
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 <alexandre.belloni@free-electrons.com>
---
 Documentation/devicetree/bindings/usb/atmel-usb.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Nicolas Ferre Feb. 28, 2014, 2:36 p.m. UTC | #1
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 <alexandre.belloni@free-electrons.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
>  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 March 12, 2014, 10:49 a.m. UTC | #2
On 28/02/2014 15:36, Nicolas Ferre :
> 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 <alexandre.belloni@free-electrons.com>
> 
> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Stacked in at91-3.15-dt.

Thanks.

>> ---
>>  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.
>>
> 
>
diff mbox

Patch

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.