Commit 9428d93e authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: usb-connector: Use OF graph schema



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

Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20201102203656.220187-3-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 0499220d
Loading
Loading
Loading
Loading
+9 −8
Original line number Original line Diff line number Diff line
@@ -143,22 +143,23 @@ properties:
      power dual role.
      power dual role.


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

    properties:
    properties:
      port@0:
      port@0:
        type: object
        $ref: /schemas/graph.yaml#/properties/port
        description: High Speed (HS), present in all connectors.
        description: High Speed (HS), present in all connectors.


      port@1:
      port@1:
        type: object
        $ref: /schemas/graph.yaml#/properties/port
        description: Super Speed (SS), present in SS capable connectors.
        description: Super Speed (SS), present in SS capable connectors.


      port@2:
      port@2:
        type: object
        $ref: /schemas/graph.yaml#/properties/port
        description: Sideband Use (SBU), present in USB-C. This describes the
        description: Sideband Use (SBU), present in USB-C. This describes the
          alternate mode connection of which SBU is a part.
          alternate mode connection of which SBU is a part.