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>
16 $ref: /schemas/graph.yaml#/$defs/port-base
19 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate"
21 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-channels"
22 convert-sample-format:
23 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format"
25 $ref: "simple-card.yaml#/definitions/mclk-fs"
28 $ref: /schemas/graph.yaml#/$defs/endpoint-base
31 $ref: "simple-card.yaml#/definitions/mclk-fs"
33 description: dai-link uses frame clock inversion
34 $ref: /schemas/types.yaml#/definitions/flag
36 description: dai-link uses bit clock inversion
37 $ref: /schemas/types.yaml#/definitions/flag
39 description: Indicates dai-link frame master.
41 - $ref: /schemas/types.yaml#/definitions/flag
42 - $ref: /schemas/types.yaml#/definitions/phandle
44 description: Indicates dai-link bit clock master
46 - $ref: /schemas/types.yaml#/definitions/flag
47 - $ref: /schemas/types.yaml#/definitions/phandle
49 description: Indicates system clock
50 $ref: /schemas/types.yaml#/definitions/phandle
51 system-clock-frequency:
52 $ref: "simple-card.yaml#/definitions/system-clock-frequency"
53 system-clock-direction-out:
54 $ref: "simple-card.yaml#/definitions/system-clock-direction-out"
56 $ref: "simple-card.yaml#/definitions/system-clock-fixed"
59 description: audio format.
72 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate"
74 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-channels"
75 convert-sample-format:
76 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format"
79 description: Number of slots in use.
80 $ref: /schemas/types.yaml#/definitions/uint32
82 description: Width in bits for each slot.
83 $ref: /schemas/types.yaml#/definitions/uint32
84 dai-tdm-slot-width-map:
85 description: Mapping of sample widths to slot widths. For hardware
86 that cannot support a fixed slot width or a slot width always
87 equal to sample width. A matrix of one or more 3-tuples.
88 $ref: /schemas/types.yaml#/definitions/uint32-matrix
92 description: Sample width in bits
96 description: Slot width in bits
100 description: Slot count
105 $ref: "#/definitions/port-base"
106 unevaluatedProperties: false
108 "^port(@[0-9a-f]+)?$":
109 $ref: "#/definitions/port-base"
110 unevaluatedProperties: false
112 "^endpoint(@[0-9a-f]+)?":
113 $ref: "#/definitions/endpoint-base"
114 unevaluatedProperties: false
117 - $ref: "#/definitions/port-base"
120 "^endpoint(@[0-9a-f]+)?":
121 $ref: "#/definitions/endpoint-base"
122 unevaluatedProperties: false
124 additionalProperties: true