[PATCH v3 2/3] dt-bindings: usb-connector: Add reference to graph schema

Rob Herring robh at kernel.org
Mon Nov 2 20:36:55 UTC 2020


Now that we have a graph schema, reference it from the usb-connector
schema.

Signed-off-by: Rob Herring <robh at kernel.org>
---
v3: new patch

 .../devicetree/bindings/connector/usb-connector.yaml   | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
index 728f82db073d..64f2e1246ddb 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@ -125,11 +125,13 @@ properties:
       power dual role.

   ports:
-    description: OF graph bindings (specified in bindings/graph.txt) that model
-      any data bus to the connector unless the bus is between parent node and
-      the connector. Since a single connector can have multiple data buses every
-      bus has an assigned OF graph port number as described below.
+    $ref: /schemas/graph.yaml#/properties/ports
     type: object
+    description: OF graph bindings modeling any data bus to the connector
+      unless the bus is between parent node and the connector. Since a single
+      connector can have multiple data buses every bus has an assigned OF graph
+      port number as described below.
+
     properties:
       port at 0:
         type: object
--
2.25.1


More information about the dri-devel mailing list