Lines Matching +full:link +full:- +full:rate

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 system-clock-fixed:
54 Implied when system-clock-frequency is specified, but can be used when
56 changed. When mclk-fs is also specified, this restricts the device to a
57 single fixed sampling rate.
60 mclk-fs:
62 Multiplication factor between stream rate and codec mclk.
63 When defined, mclk-fs property defined in dai-link sub nodes are ignored.
66 aux-devs:
70 $ref: /schemas/types.yaml#/definitions/phandle-array
72 convert-rate:
73 description: CPU to Codec rate convert.
76 convert-channels:
77 description: CPU to Codec rate channels.
92 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
96 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
98 pin-switches:
100 $ref: /schemas/types.yaml#/definitions/string-array
106 - i2s
107 - right_j
108 - left_j
109 - dsp_a
110 - dsp_b
111 - ac97
112 - pdm
113 - msb
114 - lsb
119 sound-dai:
123 mclk-fs:
124 $ref: "#/definitions/mclk-fs"
127 frame-inversion:
128 $ref: "#/definitions/frame-inversion"
129 bitclock-inversion:
130 $ref: "#/definitions/bitclock-inversion"
131 frame-master:
133 bitclock-master:
136 dai-tdm-slot-num:
137 $ref: "#/definitions/dai-tdm-slot-num"
138 dai-tdm-slot-width:
139 $ref: "#/definitions/dai-tdm-slot-width"
142 system-clock-frequency:
143 $ref: "#/definitions/system-clock-frequency"
144 system-clock-direction-out:
145 $ref: "#/definitions/system-clock-direction-out"
146 system-clock-fixed:
147 $ref: "#/definitions/system-clock-fixed"
149 - sound-dai
151 additional-devs:
156 '^iio-aux(-.+)?$':
158 $ref: audio-iio-aux.yaml#
164 - simple-audio-card
165 - simple-scu-audio-card
167 "#address-cells":
169 "#size-cells":
175 simple-audio-card,name:
179 simple-audio-card,widgets:
181 simple-audio-card,routing:
185 simple-audio-card,frame-master:
186 $ref: "#/definitions/frame-master"
187 simple-audio-card,bitclock-master:
188 $ref: "#/definitions/bitclock-master"
189 simple-audio-card,frame-inversion:
190 $ref: "#/definitions/frame-inversion"
191 simple-audio-card,bitclock-inversion:
192 $ref: "#/definitions/bitclock-inversion"
193 simple-audio-card,format:
195 simple-audio-card,mclk-fs:
196 $ref: "#/definitions/mclk-fs"
197 simple-audio-card,aux-devs:
198 $ref: "#/definitions/aux-devs"
199 simple-audio-card,additional-devs:
200 $ref: "#/definitions/additional-devs"
201 simple-audio-card,convert-rate:
202 $ref: "#/definitions/convert-rate"
203 simple-audio-card,convert-channels:
204 $ref: "#/definitions/convert-channels"
205 simple-audio-card,prefix:
207 simple-audio-card,pin-switches:
208 $ref: "#/definitions/pin-switches"
209 simple-audio-card,hp-det-gpio:
211 simple-audio-card,mic-det-gpio:
215 "^simple-audio-card,cpu(@[0-9a-f]+)?$":
217 "^simple-audio-card,codec(@[0-9a-f]+)?$":
219 "^simple-audio-card,plat(@[0-9a-f]+)?$":
222 "^simple-audio-card,dai-link(@[0-9a-f]+)?$":
224 Container for dai-link level properties and the CPU and CODEC sub-nodes.
225 This container may be omitted when the card has only one DAI link.
231 "#address-cells":
233 "#size-cells":
236 frame-master:
237 $ref: "#/definitions/frame-master"
238 bitclock-master:
239 $ref: "#/definitions/bitclock-master"
240 frame-inversion:
241 $ref: "#/definitions/frame-inversion"
242 bitclock-inversion:
243 $ref: "#/definitions/bitclock-inversion"
246 mclk-fs:
247 $ref: "#/definitions/mclk-fs"
248 aux-devs:
249 $ref: "#/definitions/aux-devs"
250 convert-rate:
251 $ref: "#/definitions/convert-rate"
252 convert-channels:
253 $ref: "#/definitions/convert-channels"
256 pin-switches:
257 $ref: "#/definitions/pin-switches"
258 hp-det-gpio:
260 mic-det-gpio:
264 "^cpu(-[0-9]+)?$":
266 "^codec(-[0-9]+)?$":
271 - compatible
276 # --------------------
277 # single DAI link
278 # --------------------
279 - |
281 compatible = "simple-audio-card";
282 simple-audio-card,name = "VF610-Tower-Sound-Card";
283 simple-audio-card,format = "left_j";
284 simple-audio-card,bitclock-master = <&dailink0_master>;
285 simple-audio-card,frame-master = <&dailink0_master>;
286 simple-audio-card,widgets =
290 simple-audio-card,routing =
295 simple-audio-card,cpu {
296 sound-dai = <&sh_fsi2 0>;
299 dailink0_master: simple-audio-card,codec {
300 sound-dai = <&ak4648>;
305 # --------------------
307 # --------------------
308 - |
310 compatible = "simple-audio-card";
311 simple-audio-card,name = "Cubox Audio";
313 #address-cells = <1>;
314 #size-cells = <0>;
316 simple-audio-card,dai-link@0 { /* I2S - HDMI */
320 sound-dai = <&audio0>;
323 sound-dai = <&tda998x0>;
327 simple-audio-card,dai-link@1 { /* S/PDIF - HDMI */
330 sound-dai = <&audio1>;
333 sound-dai = <&tda998x1>;
337 simple-audio-card,dai-link@2 { /* S/PDIF - S/PDIF */
340 sound-dai = <&audio2>;
343 sound-dai = <&spdif_codec>;
348 # --------------------
351 # --------------------
352 - |
354 compatible = "simple-audio-card";
356 simple-audio-card,widgets =
358 simple-audio-card,routing =
363 simple-audio-card,aux-devs = <&amp>;
364 simple-audio-card,cpu {
365 sound-dai = <&ssi2>;
367 simple-audio-card,codec {
368 sound-dai = <&codec>;
373 # --------------------
376 # --------------------
377 - |
379 compatible = "simple-audio-card";
381 simple-audio-card,aux-devs = <&amp_in>, <&amp_out>;
382 simple-audio-card,routing =
388 simple-audio-card,additional-devs {
389 amp_out: iio-aux-out {
390 compatible = "audio-iio-aux";
391 io-channels = <&pot_out 0>, <&pot_out 1>;
392 io-channel-names = "LEFT", "RIGHT";
393 snd-control-invert-range = <1 1>;
394 sound-name-prefix = "AMP_OUT";
397 amp_in: iio_aux-in {
398 compatible = "audio-iio-aux";
399 io-channels = <&pot_in 0>, <&pot_in 1>;
400 io-channel-names = "LEFT", "RIGHT";
401 sound-name-prefix = "AMP_IN";
405 simple-audio-card,cpu {
406 sound-dai = <&cpu>;
409 simple-audio-card,codec {
410 sound-dai = <&codec>;
415 # --------------------
416 # Sampling Rate Conversion
417 # --------------------
418 - |
420 compatible = "simple-audio-card";
422 simple-audio-card,name = "rsnd-ak4643";
423 simple-audio-card,format = "left_j";
424 simple-audio-card,bitclock-master = <&sndcodec>;
425 simple-audio-card,frame-master = <&sndcodec>;
427 simple-audio-card,convert-rate = <48000>;
429 simple-audio-card,prefix = "ak4642";
430 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
433 sndcpu: simple-audio-card,cpu {
434 sound-dai = <&rcar_sound>;
437 sndcodec: simple-audio-card,codec {
438 sound-dai = <&ak4643>;
439 system-clock-frequency = <11289600>;
443 # --------------------
445 # --------------------
446 - |
448 compatible = "simple-audio-card";
449 #address-cells = <1>;
450 #size-cells = <0>;
452 simple-audio-card,name = "rsnd-ak4643";
453 simple-audio-card,format = "left_j";
454 simple-audio-card,bitclock-master = <&dpcmcpu>;
455 simple-audio-card,frame-master = <&dpcmcpu>;
457 simple-audio-card,convert-rate = <48000>;
458 simple-audio-card,convert-channels = <2>;
460 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
463 dpcmcpu: simple-audio-card,cpu@0 {
465 sound-dai = <&rcar_sound 0>;
468 simple-audio-card,cpu@1 {
470 sound-dai = <&rcar_sound 1>;
473 simple-audio-card,codec {
475 sound-dai = <&ak4643>;
480 # --------------------
483 # CPU0 ------ ak4613
484 # CPU1 ------ PCM3168A-p /* DPCM 1ch/2ch */
485 # CPU2 --/ /* DPCM 3ch/4ch */
486 # CPU3 --/ /* DPCM 5ch/6ch */
487 # CPU4 --/ /* DPCM 7ch/8ch */
488 # CPU5 ------ PCM3168A-c
489 # --------------------
490 - |
492 compatible = "simple-audio-card";
493 #address-cells = <1>;
494 #size-cells = <0>;
496 simple-audio-card,routing =
502 simple-audio-card,dai-link@0 {
505 bitclock-master = <&sndcpu0>;
506 frame-master = <&sndcpu0>;
509 sound-dai = <&rcar_sound 0>;
512 sound-dai = <&ak4613>;
516 simple-audio-card,dai-link@1 {
519 bitclock-master = <&sndcpu1>;
520 frame-master = <&sndcpu1>;
522 convert-channels = <8>; /* TDM Split */
524 sndcpu1: cpu-0 {
525 sound-dai = <&rcar_sound 1>;
527 cpu-1 {
528 sound-dai = <&rcar_sound 2>;
530 cpu-2 {
531 sound-dai = <&rcar_sound 3>;
533 cpu-3 {
534 sound-dai = <&rcar_sound 4>;
537 mclk-fs = <512>;
539 dai-tdm-slot-num = <8>;
540 sound-dai = <&pcm3168a 0>;
544 simple-audio-card,dai-link@2 {
547 bitclock-master = <&sndcpu2>;
548 frame-master = <&sndcpu2>;
551 sound-dai = <&rcar_sound 5>;
554 mclk-fs = <512>;
556 sound-dai = <&pcm3168a 1>;