Lines Matching +full:be +full:- +full:dai +full:- +full:link
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
34 frequencies for different audio use-cases.
37 "^dai-link-[0-9]+$":
41 Container for dai-link level properties and the CODEC sub-nodes.
42 There should be at least one (and probably more) subnode of this type
45 dai-format:
47 enum: [ i2s, left-j, dsp_a ]
49 dai-tdm-slot-num:
56 dai-tdm-slot-width:
62 mclk-fs:
68 sound-dai:
70 description: phandle of the CPU DAI
73 "^dai-tdm-slot-(t|r)x-mask-[0-3]$":
74 $ref: /schemas/types.yaml#/definitions/uint32-array
81 mask should be provided with an enabled slot.
83 "^codec(-[0-9]+)?$":
87 dai-link representing backend links should have at least one subnode.
88 One subnode for each codec of the dai-link. dai-link representing
92 sound-dai:
94 description: phandle of the codec DAI
97 "^dai-tdm-slot-(t|r)x-mask$":
98 $ref: /schemas/types.yaml#/definitions/uint32-array
104 - sound-dai
107 - sound-dai
110 - dai-link-0
115 - |
117 compatible = "amlogic,axg-sound-card";
118 model = "AXG-S420";
119 audio-aux-devs = <&tdmin_a>, <&tdmout_c>;
120 audio-widgets = "Line", "Lineout",
126 audio-routing = "TDMOUT_C IN 0", "FRDDR_A OUT 2",
141 dai-link-0 {
142 sound-dai = <&frddr_a>;
145 dai-link-1 {
146 sound-dai = <&toddr_a>;
149 dai-link-2 {
150 sound-dai = <&tdmif_c>;
151 dai-format = "i2s";
152 dai-tdm-slot-tx-mask-2 = <1 1>;
153 dai-tdm-slot-tx-mask-3 = <1 1>;
154 dai-tdm-slot-rx-mask-1 = <1 1>;
155 mclk-fs = <256>;
157 codec-0 {
158 sound-dai = <&lineout>;
161 codec-1 {
162 sound-dai = <&speaker_amp1>;
165 codec-2 {
166 sound-dai = <&speaker_amp2>;
169 codec-3 {
170 sound-dai = <&linein>;
174 dai-link-3 {
175 sound-dai = <&spdifout>;
178 sound-dai = <&spdif_dit>;