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

From: Icenowy Zheng
Date: Fri Apr 05 2019 - 16:57:57 EST


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@xxxxxxx>
---
New patch in v5.

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

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.
--
2.18.1