diff mbox series

[v5,1/5] dt-bindings: usb-connector: add Vbus regulator for Type-A/B

Message ID 20190405205736.55177-2-icenowy@aosc.io (mailing list archive)
State New, archived
Headers show
Series Allwinner H6 USB3 support | expand

Commit Message

Icenowy Zheng April 5, 2019, 8:57 p.m. UTC
USB Type-A and Type-B connectors have a Vbus pin, which provides +5V
power to bus-powered devices.

Add a power supply regulator property for this pin.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
New patch in v5.

 Documentation/devicetree/bindings/connector/usb-connector.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring April 6, 2019, 7:10 a.m. UTC | #1
On Sat,  6 Apr 2019 04:57:32 +0800, Icenowy Zheng wrote:
> USB Type-A and Type-B connectors have a Vbus pin, which provides +5V
> power to bus-powered devices.
> 
> Add a power supply regulator property for this pin.
> 
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> ---
> New patch in v5.
> 
>  Documentation/devicetree/bindings/connector/usb-connector.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt
index a9a2f2fc44f2..5608feeb1105 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.txt
+++ b/Documentation/devicetree/bindings/connector/usb-connector.txt
@@ -17,6 +17,9 @@  Optional properties:
 - self-powered: Set this property if the usb device that has its own power
   source.
 
+Optional properties for usb-a-connector or usb-b-connector:
+- vbus-supply: phandle to a regulator supplying the VBUS voltage.
+
 Optional properties for usb-c-connector:
 - power-role: should be one of "source", "sink" or "dual"(DRP) if typec
   connector has power support.