Lines Matching +full:codec +full:- +full:2
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jerome Brunet <jbrunet@baylibre.com>
13 - $ref: sound-card-common.yaml#
17 const: amlogic,axg-sound-card
19 audio-aux-devs:
20 $ref: /schemas/types.yaml#/definitions/phandle-array
23 audio-widgets:
24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
30 "^dai-link-[0-9]+$":
34 Container for dai-link level properties and the CODEC sub-nodes.
38 dai-format:
40 enum: [ i2s, left-j, dsp_a ]
42 dai-tdm-slot-num:
49 dai-tdm-slot-width:
55 mclk-fs:
61 sound-dai:
66 "^dai-tdm-slot-(t|r)x-mask-[0-3]$":
67 $ref: /schemas/types.yaml#/definitions/uint32-array
76 "^codec(-[0-9]+)?$":
80 dai-link representing backend links should have at least one subnode.
81 One subnode for each codec of the dai-link. dai-link representing
82 frontend links have no codec, therefore have no subnodes
85 sound-dai:
87 description: phandle of the codec DAI
90 "^dai-tdm-slot-(t|r)x-mask$":
91 $ref: /schemas/types.yaml#/definitions/uint32-array
94 description: Transmit and receive codec slot masks
97 - sound-dai
100 - sound-dai
103 - dai-link-0
108 - |
110 compatible = "amlogic,axg-sound-card";
111 model = "AXG-S420";
112 audio-aux-devs = <&tdmin_a>, <&tdmout_c>;
113 audio-widgets = "Line", "Lineout",
119 audio-routing = "TDMOUT_C IN 0", "FRDDR_A OUT 2",
122 "TDMIN_A IN 2", "TDM_C Capture",
134 dai-link-0 {
135 sound-dai = <&frddr_a>;
138 dai-link-1 {
139 sound-dai = <&toddr_a>;
142 dai-link-2 {
143 sound-dai = <&tdmif_c>;
144 dai-format = "i2s";
145 dai-tdm-slot-tx-mask-2 = <1 1>;
146 dai-tdm-slot-tx-mask-3 = <1 1>;
147 dai-tdm-slot-rx-mask-1 = <1 1>;
148 mclk-fs = <256>;
150 codec-0 {
151 sound-dai = <&lineout>;
154 codec-1 {
155 sound-dai = <&speaker_amp1>;
158 codec-2 {
159 sound-dai = <&speaker_amp2>;
162 codec-3 {
163 sound-dai = <&linein>;
167 dai-link-3 {
168 sound-dai = <&spdifout>;
170 codec {
171 sound-dai = <&spdif_dit>;