Lines Matching +full:multi +full:- +full:master
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/simple-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
14 frame-master:
15 description: Indicates dai-link frame master.
18 bitclock-master:
19 description: Indicates dai-link bit clock master
22 frame-inversion:
23 description: dai-link uses frame clock inversion
26 bitclock-inversion:
27 description: dai-link uses bit clock inversion
30 dai-tdm-slot-num:
31 description: see tdm-slot.txt.
34 dai-tdm-slot-width:
35 description: see tdm-slot.txt.
38 system-clock-frequency:
41 mclk-fs, the clock will be set to the calculated mclk frequency
45 system-clock-direction-out:
51 mclk-fs:
54 When defined, mclk-fs property defined in dai-link sub nodes are ignored.
57 aux-devs:
61 $ref: /schemas/types.yaml#/definitions/phandle-array
63 convert-rate:
67 convert-channels:
83 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
87 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
89 pin-switches:
91 $ref: /schemas/types.yaml#/definitions/string-array
97 - i2s
98 - right_j
99 - left_j
100 - dsp_a
101 - dsp_b
102 - ac97
103 - pdm
104 - msb
105 - lsb
110 sound-dai:
114 mclk-fs:
115 $ref: "#/definitions/mclk-fs"
118 frame-inversion:
119 $ref: "#/definitions/frame-inversion"
120 bitclock-inversion:
121 $ref: "#/definitions/bitclock-inversion"
122 frame-master:
124 bitclock-master:
127 dai-tdm-slot-num:
128 $ref: "#/definitions/dai-tdm-slot-num"
129 dai-tdm-slot-width:
130 $ref: "#/definitions/dai-tdm-slot-width"
133 system-clock-frequency:
134 $ref: "#/definitions/system-clock-frequency"
135 system-clock-direction-out:
136 $ref: "#/definitions/system-clock-direction-out"
138 - sound-dai
144 - simple-audio-card
145 - simple-scu-audio-card
147 "#address-cells":
149 "#size-cells":
155 simple-audio-card,name:
161 "^simple-audio-card,widgets$":
163 "^simple-audio-card,routing$":
165 "^simple-audio-card,cpu(@[0-9a-f]+)?":
167 "^simple-audio-card,codec(@[0-9a-f]+)?":
171 "^simple-audio-card,frame-master$":
172 $ref: "#/definitions/frame-master"
173 "^simple-audio-card,bitclock-master$":
174 $ref: "#/definitions/bitclock-master"
175 "^simple-audio-card,frame-inversion$":
176 $ref: "#/definitions/frame-inversion"
177 "^simple-audio-card,bitclock-inversion$":
178 $ref: "#/definitions/bitclock-inversion"
179 "^simple-audio-card,format$":
181 "^simple-audio-card,mclk-fs$":
182 $ref: "#/definitions/mclk-fs"
183 "^simple-audio-card,aux-devs$":
184 $ref: "#/definitions/aux-devs"
185 "^simple-audio-card,convert-rate$":
186 $ref: "#/definitions/convert-rate"
187 "^simple-audio-card,convert-channels$":
188 $ref: "#/definitions/convert-channels"
189 "^simple-audio-card,prefix$":
191 "^simple-audio-card,pin-switches$":
192 $ref: "#/definitions/pin-switches"
193 "^simple-audio-card,hp-det-gpio$":
195 "^simple-audio-card,mic-det-gpio$":
198 "^simple-audio-card,dai-link(@[0-9a-f]+)?$":
200 Container for dai-link level properties and the CPU and CODEC sub-nodes.
208 frame-master:
209 $ref: "#/definitions/frame-master"
210 bitclock-master:
211 $ref: "#/definitions/bitclock-master"
212 frame-inversion:
213 $ref: "#/definitions/frame-inversion"
214 bitclock-inversion:
215 $ref: "#/definitions/bitclock-inversion"
218 mclk-fs:
219 $ref: "#/definitions/mclk-fs"
220 aux-devs:
221 $ref: "#/definitions/aux-devs"
222 convert-rate:
223 $ref: "#/definitions/convert-rate"
224 convert-channels:
225 $ref: "#/definitions/convert-channels"
228 pin-switches:
229 $ref: "#/definitions/pin-switches"
230 hp-det-gpio:
232 mic-det-gpio:
236 "^cpu(@[0-9a-f]+)?":
238 "^codec(@[0-9a-f]+)?":
243 - compatible
248 #--------------------
250 #--------------------
251 - |
253 compatible = "simple-audio-card";
254 simple-audio-card,name = "VF610-Tower-Sound-Card";
255 simple-audio-card,format = "left_j";
256 simple-audio-card,bitclock-master = <&dailink0_master>;
257 simple-audio-card,frame-master = <&dailink0_master>;
258 simple-audio-card,widgets =
262 simple-audio-card,routing =
267 simple-audio-card,cpu {
268 sound-dai = <&sh_fsi2 0>;
271 dailink0_master: simple-audio-card,codec {
272 sound-dai = <&ak4648>;
277 #--------------------
278 # Multi DAI links
279 #--------------------
280 - |
282 compatible = "simple-audio-card";
283 simple-audio-card,name = "Cubox Audio";
285 #address-cells = <1>;
286 #size-cells = <0>;
288 simple-audio-card,dai-link@0 { /* I2S - HDMI */
292 sound-dai = <&audio0>;
295 sound-dai = <&tda998x0>;
299 simple-audio-card,dai-link@1 { /* S/PDIF - HDMI */
302 sound-dai = <&audio1>;
305 sound-dai = <&tda998x1>;
309 simple-audio-card,dai-link@2 { /* S/PDIF - S/PDIF */
312 sound-dai = <&audio2>;
315 sound-dai = <&spdif_codec>;
320 #--------------------
323 #--------------------
324 - |
326 compatible = "simple-audio-card";
328 simple-audio-card,widgets =
330 simple-audio-card,routing =
335 simple-audio-card,aux-devs = <&>;
336 simple-audio-card,cpu {
337 sound-dai = <&ssi2>;
339 simple-audio-card,codec {
340 sound-dai = <&codec>;
345 #--------------------
347 #--------------------
348 - |
350 compatible = "simple-audio-card";
352 simple-audio-card,name = "rsnd-ak4643";
353 simple-audio-card,format = "left_j";
354 simple-audio-card,bitclock-master = <&sndcodec>;
355 simple-audio-card,frame-master = <&sndcodec>;
357 simple-audio-card,convert-rate = <48000>;
359 simple-audio-card,prefix = "ak4642";
360 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
363 sndcpu: simple-audio-card,cpu {
364 sound-dai = <&rcar_sound>;
367 sndcodec: simple-audio-card,codec {
368 sound-dai = <&ak4643>;
369 system-clock-frequency = <11289600>;
373 #--------------------
375 #--------------------
376 - |
378 compatible = "simple-audio-card";
379 #address-cells = <1>;
380 #size-cells = <0>;
382 simple-audio-card,name = "rsnd-ak4643";
383 simple-audio-card,format = "left_j";
384 simple-audio-card,bitclock-master = <&dpcmcpu>;
385 simple-audio-card,frame-master = <&dpcmcpu>;
387 simple-audio-card,convert-rate = <48000>;
388 simple-audio-card,convert-channels = <2>;
390 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
393 dpcmcpu: simple-audio-card,cpu@0 {
395 sound-dai = <&rcar_sound 0>;
398 simple-audio-card,cpu@1 {
400 sound-dai = <&rcar_sound 1>;
403 simple-audio-card,codec {
405 sound-dai = <&ak4643>;
410 #--------------------
411 # Multi DAI links with DPCM:
413 # CPU0 ------ ak4613
414 # CPU1 ------ PCM3168A-p /* DPCM 1ch/2ch */
415 # CPU2 --/ /* DPCM 3ch/4ch */
416 # CPU3 --/ /* DPCM 5ch/6ch */
417 # CPU4 --/ /* DPCM 7ch/8ch */
418 # CPU5 ------ PCM3168A-c
419 #--------------------
420 - |
422 compatible = "simple-audio-card";
423 #address-cells = <1>;
424 #size-cells = <0>;
426 simple-audio-card,routing =
432 simple-audio-card,dai-link@0 {
435 bitclock-master = <&sndcpu0>;
436 frame-master = <&sndcpu0>;
439 sound-dai = <&rcar_sound 0>;
442 sound-dai = <&ak4613>;
446 simple-audio-card,dai-link@1 {
449 bitclock-master = <&sndcpu1>;
450 frame-master = <&sndcpu1>;
452 convert-channels = <8>; /* TDM Split */
455 sound-dai = <&rcar_sound 1>;
458 sound-dai = <&rcar_sound 2>;
461 sound-dai = <&rcar_sound 3>;
464 sound-dai = <&rcar_sound 4>;
467 mclk-fs = <512>;
469 dai-tdm-slot-num = <8>;
470 sound-dai = <&pcm3168a 0>;
474 simple-audio-card,dai-link@2 {
477 bitclock-master = <&sndcpu2>;
478 frame-master = <&sndcpu2>;
481 sound-dai = <&rcar_sound 5>;
484 mclk-fs = <512>;
486 sound-dai = <&pcm3168a 1>;