USB Orientation and Mode Switches Ports Graph Properties

Schema identifier ($id): "http://devicetree.org/schemas/usb/usb-switch-ports.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Greg Kroah-Hartman <gregkh@linuxfoundation.org>"

Ports Graph properties for devices handling USB mode and orientation switching.

Properties and child nodes (properties) #

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

A port node to link the device to a TypeC controller for the purpose of handling altmode muxing and orientation switching.

Properties and child nodes (properties) #

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

Items must be unique (uniqueItems): true

Array item rules (items)

Maximum value (maximum): 8

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port@0 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Super Speed (SS) Output endpoint to the Type-C connector

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Super Speed (SS) Input endpoint from the Super-Speed PHY

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

Items must be unique (uniqueItems): true

Array item rules (items)

Maximum value (maximum): 8

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "port"

Rule 2 #

Required in this object (required): "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page