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
25 - $ref: /schemas/graph.yaml#/$defs/endpoint-base
26 - $ref: /schemas/sound/dai-params.yaml#
29 $ref: simple-card.yaml#/definitions/mclk-fs
31 description: dai-link uses frame clock inversion
32 $ref: /schemas/types.yaml#/definitions/flag
34 description: dai-link uses bit clock inversion
35 $ref: /schemas/types.yaml#/definitions/flag
37 description: Indicates dai-link frame master.
39 - $ref: /schemas/types.yaml#/definitions/flag
40 - $ref: /schemas/types.yaml#/definitions/phandle
42 description: Indicates dai-link bit clock master
44 - $ref: /schemas/types.yaml#/definitions/flag
45 - $ref: /schemas/types.yaml#/definitions/phandle
47 description: Indicates system clock
48 $ref: /schemas/types.yaml#/definitions/phandle
49 system-clock-frequency:
50 $ref: simple-card.yaml#/definitions/system-clock-frequency
51 system-clock-direction-out:
52 $ref: simple-card.yaml#/definitions/system-clock-direction-out
54 $ref: simple-card.yaml#/definitions/system-clock-fixed
57 description: audio format.
71 description: Number of slots in use.
72 $ref: /schemas/types.yaml#/definitions/uint32
74 description: Width in bits for each slot.
75 $ref: /schemas/types.yaml#/definitions/uint32
76 dai-tdm-slot-width-map:
77 description: Mapping of sample widths to slot widths. For hardware
78 that cannot support a fixed slot width or a slot width always
79 equal to sample width. A matrix of one or more 3-tuples.
80 $ref: /schemas/types.yaml#/definitions/uint32-matrix
84 description: Sample width in bits
88 description: Slot width in bits
92 description: Slot count
97 $ref: "#/definitions/port-base"
98 unevaluatedProperties: false
100 "^port(@[0-9a-f]+)?$":
101 $ref: "#/definitions/port-base"
102 unevaluatedProperties: false
104 "^endpoint(@[0-9a-f]+)?":
105 $ref: "#/definitions/endpoint-base"
106 unevaluatedProperties: false
109 - $ref: "#/definitions/port-base"
112 "^endpoint(@[0-9a-f]+)?":
113 $ref: "#/definitions/endpoint-base"
114 unevaluatedProperties: false
116 additionalProperties: true