1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Audio Graph Card 'port'
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
17 - $ref: /schemas/graph.yaml#/$defs/port-base
18 - $ref: /schemas/sound/dai-params.yaml#
21 $ref: simple-card.yaml#/definitions/mclk-fs
23 description: port connection used only for playback
24 $ref: /schemas/types.yaml#/definitions/flag
26 description: port connection used only for capture
27 $ref: /schemas/types.yaml#/definitions/flag
29 description: trigger order for both start/stop
30 $ref: /schemas/types.yaml#/definitions/uint32-array
31 link-trigger-order-start:
32 description: trigger order for start
33 $ref: /schemas/types.yaml#/definitions/uint32-array
34 link-trigger-order-stop:
35 description: trigger order for stop
36 $ref: /schemas/types.yaml#/definitions/uint32-array
40 - $ref: /schemas/graph.yaml#/$defs/endpoint-base
41 - $ref: /schemas/sound/dai-params.yaml#
44 $ref: simple-card.yaml#/definitions/mclk-fs
46 description: dai-link uses frame clock inversion
47 $ref: /schemas/types.yaml#/definitions/flag
49 description: dai-link uses bit clock inversion
50 $ref: /schemas/types.yaml#/definitions/flag
52 description: Indicates dai-link frame master.
54 - $ref: /schemas/types.yaml#/definitions/flag
55 - $ref: /schemas/types.yaml#/definitions/phandle
57 description: Indicates dai-link bit clock master
59 - $ref: /schemas/types.yaml#/definitions/flag
60 - $ref: /schemas/types.yaml#/definitions/phandle
62 description: Indicates system clock
64 system-clock-frequency:
65 $ref: simple-card.yaml#/definitions/system-clock-frequency
66 system-clock-direction-out:
67 $ref: simple-card.yaml#/definitions/system-clock-direction-out
69 $ref: simple-card.yaml#/definitions/system-clock-fixed
72 description: audio format.
86 description: Number of slots in use.
87 $ref: /schemas/types.yaml#/definitions/uint32
89 description: Width in bits for each slot.
90 $ref: /schemas/types.yaml#/definitions/uint32
91 dai-tdm-slot-width-map:
92 description: Mapping of sample widths to slot widths. For hardware
93 that cannot support a fixed slot width or a slot width always
94 equal to sample width. A matrix of one or more 3-tuples.
95 $ref: /schemas/types.yaml#/definitions/uint32-matrix
99 description: Sample width in bits
103 description: Slot width in bits
107 description: Slot count
112 $ref: "#/definitions/port-base"
113 unevaluatedProperties: false
115 "^port(@[0-9a-f]+)?$":
116 $ref: "#/definitions/port-base"
117 unevaluatedProperties: false
119 "^endpoint(@[0-9a-f]+)?":
120 $ref: "#/definitions/endpoint-base"
121 unevaluatedProperties: false
124 - $ref: "#/definitions/port-base"
127 "^endpoint(@[0-9a-f]+)?":
128 $ref: "#/definitions/endpoint-base"
129 unevaluatedProperties: false
131 additionalProperties: true