Audio Graph Card 'port'

Schema identifier ($id): "http://devicetree.org/schemas/sound/audio-graph-port.yaml#"

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

Maintainers (maintainers): "Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>"

Automatic schema selection (select) #

false

Not selected automatically by this rule.

Reusable definitions (definitions) #

port-base #

All of these rules must match (allOf) #

Rule 1

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

Rule 2

Shared schema rule ($ref): /schemas/sound/dai-params.yaml#

Properties and child nodes (properties) #

mclk-fs — not listed as required here

Shared schema rule ($ref): simple-card.yaml#/definitions/mclk-fs

playback-only — not listed as required here

port connection used only for playback

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

capture-only — not listed as required here

port connection used only for capture

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

link-trigger-order — not listed as required here

trigger order for both start/stop

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

link-trigger-order-start — not listed as required here

trigger order for start

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

link-trigger-order-stop — not listed as required here

trigger order for stop

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

endpoint-base #

All of these rules must match (allOf) #

Rule 1

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

Rule 2

Shared schema rule ($ref): /schemas/sound/dai-params.yaml#

Properties and child nodes (properties) #

mclk-fs — not listed as required here

Shared schema rule ($ref): simple-card.yaml#/definitions/mclk-fs

frame-inversion — not listed as required here

dai-link uses frame clock inversion

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

bitclock-inversion — not listed as required here

dai-link uses bit clock inversion

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

frame-master — not listed as required here

Indicates dai-link frame master.

Exactly one of these rules must match (oneOf)

Rule 1

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Rule 2

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

bitclock-master — not listed as required here

Indicates dai-link bit clock master

Exactly one of these rules must match (oneOf)

Rule 1

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Rule 2

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

clocks — not listed as required here

Indicates system clock

Maximum number of items (maxItems): 1

system-clock-frequency — not listed as required here

Shared schema rule ($ref): simple-card.yaml#/definitions/system-clock-frequency

system-clock-direction-out — not listed as required here

Shared schema rule ($ref): simple-card.yaml#/definitions/system-clock-direction-out

system-clock-fixed — not listed as required here

Shared schema rule ($ref): simple-card.yaml#/definitions/system-clock-fixed

dai-format — not listed as required here

audio format.

Array item rules (items)

Allowed values (enum): "i2s", "right_j", "left_j", "dsp_a", "dsp_b", "ac97", "pdm", "msb", "lsb"

dai-tdm-slot-num — not listed as required here

Number of slots in use.

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

dai-tdm-slot-width — not listed as required here

Width in bits for each slot.

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

dai-tdm-slot-width-map — not listed as required here

Mapping of sample widths to slot widths. For hardware that cannot support a fixed slot width or a slot width always equal to sample width. A matrix of one or more 3-tuples.

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

Array item rules (items)

Array item rules (items)

Item 1

Sample width in bits

Minimum value (minimum): 8

Maximum value (maximum): 64

Item 2

Slot width in bits

Minimum value (minimum): 8

Maximum value (maximum): 256

Item 3

Slot count

Minimum value (minimum): 1

Maximum value (maximum): 64

ports #

Shared schema rule ($ref): #/definitions/port-base

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^port(@[0-9a-f]+)?$ — name matches this regular expression

Shared schema rule ($ref): #/definitions/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties)

^endpoint(@[0-9a-f]+)? — name matches this regular expression

Shared schema rule ($ref): #/definitions/endpoint-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): #/definitions/port-base

Properties matching a name pattern (patternProperties) #

^endpoint(@[0-9a-f]+)? — name matches this regular expression #

Shared schema rule ($ref): #/definitions/endpoint-base

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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