On Mon, Jun 15, 2020 at 06:15:07PM +0200, Amelie Delaunay wrote:
Power operation mode may depends on hardware design, so, add the optional
property power-opmode for usb-c connector to select the power operation
mode capability.
Signed-off-by: Amelie Delaunay <amelie.delaunay@xxxxxx>
---
 .../devicetree/bindings/connector/usb-connector.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
index 9bd52e63c935..cd7feb2d4984 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@ -88,6 +88,17 @@ properties:
ÂÂÂÂÂÂÂ - device
ÂÂÂÂÂÂÂ - dual
+Â power-opmode:
+ÂÂÂ description: Determines the power operation mode that the Type C connector
+ÂÂÂÂÂ will support.
+ÂÂÂ allOf:
+ÂÂÂÂÂ - $ref: /schemas/types.yaml#definitions/string
+ÂÂÂ enum:
+ÂÂÂÂÂ - default
Wouldn't this just be no property?
+ÂÂÂÂÂ - 1.5A
+ÂÂÂÂÂ - 3.0A
You'll need to explain these better.
+ÂÂÂÂÂ - usb_power_delivery
I would have thought 'default' would be USB-PD. Though I thought Type-C
was always USB-PD.
+
ÂÂÂ # The following are optional properties for "usb-c-connector" with power
ÂÂÂ # delivery support.
ÂÂÂ source-pdos:
--
2.17.1