Commit d4e0199b authored by Thierry Reding's avatar Thierry Reding
Browse files

dt-bindings: phy: tegra-xusb: Document Type C support



Each XUSB PHY can be hooked up to a Type C controller via a port
property, so document this in the bindings accordingly.

Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 307ae94e
Loading
Loading
Loading
Loading
+38 −1
Original line number Diff line number Diff line
@@ -230,6 +230,10 @@ properties:
          connector:
            type: object

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

          mode:
            description: A string that determines the mode in which to
              run the port.
@@ -256,7 +260,12 @@ properties:
              voltage.

        dependencies:
          usb-role-switch: [ connector ]
          usb-role-switch:
            oneOf:
              - required:
                  - connector
              - required:
                  - port

      usb2-1:
        type: object
@@ -268,6 +277,10 @@ properties:
          connector:
            type: object

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

          mode:
            description: A string that determines the mode in which to
              run the port.
@@ -306,6 +319,10 @@ properties:
          connector:
            type: object

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

          mode:
            description: A string that determines the mode in which to
              run the port.
@@ -344,6 +361,10 @@ properties:
          connector:
            type: object

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

          mode:
            description: A string that determines the mode in which to
              run the port.
@@ -405,6 +426,10 @@ properties:
            description: A phandle to the regulator supplying the VBUS
              voltage.

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

      usb3-1:
        type: object
        additionalProperties: false
@@ -438,6 +463,10 @@ properties:
            description: A phandle to the regulator supplying the VBUS
              voltage.

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

      usb3-2:
        type: object
        additionalProperties: false
@@ -471,6 +500,10 @@ properties:
            description: A phandle to the regulator supplying the VBUS
              voltage.

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

      usb3-3:
        type: object
        additionalProperties: false
@@ -504,6 +537,10 @@ properties:
            description: A phandle to the regulator supplying the VBUS
              voltage.

          port:
            description: connection to a USB Type C controller
            $ref: /schemas/graph.yaml#/properties/port

additionalProperties: false

required: