summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/connector
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-11-02 13:51:25 -0600
committerRob Herring <robh@kernel.org>2021-01-12 09:47:04 -0600
commit9428d93e49196e67213bd8d173563b9044dfd28d (patch)
treea6889488d0ade9d089c3deacfd3a1e53f2e029f0 /Documentation/devicetree/bindings/connector
parent0499220d6dadafa50d10c748ab88bbe4ebf39c05 (diff)
dt-bindings: usb-connector: Use OF graph schema
Now that we have a graph schema, reference it from the usb-connector schema. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/20201102203656.220187-3-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/connector')
-rw-r--r--Documentation/devicetree/bindings/connector/usb-connector.yaml17
1 files changed, 9 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
index 4286ed767a0a..63d90b398c01 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@ -143,22 +143,23 @@ 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.
- type: object
+ $ref: /schemas/graph.yaml#/properties/ports
+ 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@0:
- type: object
+ $ref: /schemas/graph.yaml#/properties/port
description: High Speed (HS), present in all connectors.
port@1:
- type: object
+ $ref: /schemas/graph.yaml#/properties/port
description: Super Speed (SS), present in SS capable connectors.
port@2:
- type: object
+ $ref: /schemas/graph.yaml#/properties/port
description: Sideband Use (SBU), present in USB-C. This describes the
alternate mode connection of which SBU is a part.