Lines Matching +full:sound +full:- +full:name +full:- +full:prefix
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
60 mclk-fs:
63 When defined, mclk-fs property defined in dai-link sub nodes are ignored.
66 aux-devs:
69 as amplifiers, to be added to the sound card.
70 $ref: /schemas/types.yaml#/definitions/phandle-array
72 convert-rate:
76 convert-channels:
80 prefix:
81 description: "device name prefix"
92 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
95 description: User specified audio sound widgets.
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"
125 prefix:
126 $ref: "#/definitions/prefix"
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
155 - simple-audio-card
156 - simple-scu-audio-card
158 "#address-cells":
160 "#size-cells":
166 simple-audio-card,name:
167 description: User specified audio sound card name.
170 simple-audio-card,widgets:
172 simple-audio-card,routing:
176 simple-audio-card,frame-master:
177 $ref: "#/definitions/frame-master"
178 simple-audio-card,bitclock-master:
179 $ref: "#/definitions/bitclock-master"
180 simple-audio-card,frame-inversion:
181 $ref: "#/definitions/frame-inversion"
182 simple-audio-card,bitclock-inversion:
183 $ref: "#/definitions/bitclock-inversion"
184 simple-audio-card,format:
186 simple-audio-card,mclk-fs:
187 $ref: "#/definitions/mclk-fs"
188 simple-audio-card,aux-devs:
189 $ref: "#/definitions/aux-devs"
190 simple-audio-card,convert-rate:
191 $ref: "#/definitions/convert-rate"
192 simple-audio-card,convert-channels:
193 $ref: "#/definitions/convert-channels"
194 simple-audio-card,prefix:
195 $ref: "#/definitions/prefix"
196 simple-audio-card,pin-switches:
197 $ref: "#/definitions/pin-switches"
198 simple-audio-card,hp-det-gpio:
200 simple-audio-card,mic-det-gpio:
204 "^simple-audio-card,cpu(@[0-9a-f]+)?$":
206 "^simple-audio-card,codec(@[0-9a-f]+)?$":
209 "^simple-audio-card,dai-link(@[0-9a-f]+)?$":
211 Container for dai-link level properties and the CPU and CODEC sub-nodes.
219 frame-master:
220 $ref: "#/definitions/frame-master"
221 bitclock-master:
222 $ref: "#/definitions/bitclock-master"
223 frame-inversion:
224 $ref: "#/definitions/frame-inversion"
225 bitclock-inversion:
226 $ref: "#/definitions/bitclock-inversion"
229 mclk-fs:
230 $ref: "#/definitions/mclk-fs"
231 aux-devs:
232 $ref: "#/definitions/aux-devs"
233 convert-rate:
234 $ref: "#/definitions/convert-rate"
235 convert-channels:
236 $ref: "#/definitions/convert-channels"
237 prefix:
238 $ref: "#/definitions/prefix"
239 pin-switches:
240 $ref: "#/definitions/pin-switches"
241 hp-det-gpio:
243 mic-det-gpio:
247 "^cpu(@[0-9a-f]+)?":
249 "^codec(@[0-9a-f]+)?":
254 - compatible
259 #--------------------
261 #--------------------
262 - |
263 sound {
264 compatible = "simple-audio-card";
265 simple-audio-card,name = "VF610-Tower-Sound-Card";
266 simple-audio-card,format = "left_j";
267 simple-audio-card,bitclock-master = <&dailink0_master>;
268 simple-audio-card,frame-master = <&dailink0_master>;
269 simple-audio-card,widgets =
273 simple-audio-card,routing =
278 simple-audio-card,cpu {
279 sound-dai = <&sh_fsi2 0>;
282 dailink0_master: simple-audio-card,codec {
283 sound-dai = <&ak4648>;
288 #--------------------
290 #--------------------
291 - |
292 sound {
293 compatible = "simple-audio-card";
294 simple-audio-card,name = "Cubox Audio";
296 #address-cells = <1>;
297 #size-cells = <0>;
299 simple-audio-card,dai-link@0 { /* I2S - HDMI */
303 sound-dai = <&audio0>;
306 sound-dai = <&tda998x0>;
310 simple-audio-card,dai-link@1 { /* S/PDIF - HDMI */
313 sound-dai = <&audio1>;
316 sound-dai = <&tda998x1>;
320 simple-audio-card,dai-link@2 { /* S/PDIF - S/PDIF */
323 sound-dai = <&audio2>;
326 sound-dai = <&spdif_codec>;
331 #--------------------
334 #--------------------
335 - |
336 sound {
337 compatible = "simple-audio-card";
339 simple-audio-card,widgets =
341 simple-audio-card,routing =
346 simple-audio-card,aux-devs = <&>;
347 simple-audio-card,cpu {
348 sound-dai = <&ssi2>;
350 simple-audio-card,codec {
351 sound-dai = <&codec>;
356 #--------------------
358 #--------------------
359 - |
360 sound {
361 compatible = "simple-audio-card";
363 simple-audio-card,name = "rsnd-ak4643";
364 simple-audio-card,format = "left_j";
365 simple-audio-card,bitclock-master = <&sndcodec>;
366 simple-audio-card,frame-master = <&sndcodec>;
368 simple-audio-card,convert-rate = <48000>;
370 simple-audio-card,prefix = "ak4642";
371 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
374 sndcpu: simple-audio-card,cpu {
375 sound-dai = <&rcar_sound>;
378 sndcodec: simple-audio-card,codec {
379 sound-dai = <&ak4643>;
380 system-clock-frequency = <11289600>;
384 #--------------------
386 #--------------------
387 - |
388 sound {
389 compatible = "simple-audio-card";
390 #address-cells = <1>;
391 #size-cells = <0>;
393 simple-audio-card,name = "rsnd-ak4643";
394 simple-audio-card,format = "left_j";
395 simple-audio-card,bitclock-master = <&dpcmcpu>;
396 simple-audio-card,frame-master = <&dpcmcpu>;
398 simple-audio-card,convert-rate = <48000>;
399 simple-audio-card,convert-channels = <2>;
401 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
404 dpcmcpu: simple-audio-card,cpu@0 {
406 sound-dai = <&rcar_sound 0>;
409 simple-audio-card,cpu@1 {
411 sound-dai = <&rcar_sound 1>;
414 simple-audio-card,codec {
415 prefix = "ak4642";
416 sound-dai = <&ak4643>;
421 #--------------------
424 # CPU0 ------ ak4613
425 # CPU1 ------ PCM3168A-p /* DPCM 1ch/2ch */
426 # CPU2 --/ /* DPCM 3ch/4ch */
427 # CPU3 --/ /* DPCM 5ch/6ch */
428 # CPU4 --/ /* DPCM 7ch/8ch */
429 # CPU5 ------ PCM3168A-c
430 #--------------------
431 - |
432 sound {
433 compatible = "simple-audio-card";
434 #address-cells = <1>;
435 #size-cells = <0>;
437 simple-audio-card,routing =
443 simple-audio-card,dai-link@0 {
446 bitclock-master = <&sndcpu0>;
447 frame-master = <&sndcpu0>;
450 sound-dai = <&rcar_sound 0>;
453 sound-dai = <&ak4613>;
457 simple-audio-card,dai-link@1 {
460 bitclock-master = <&sndcpu1>;
461 frame-master = <&sndcpu1>;
463 convert-channels = <8>; /* TDM Split */
466 sound-dai = <&rcar_sound 1>;
469 sound-dai = <&rcar_sound 2>;
472 sound-dai = <&rcar_sound 3>;
475 sound-dai = <&rcar_sound 4>;
478 mclk-fs = <512>;
479 prefix = "pcm3168a";
480 dai-tdm-slot-num = <8>;
481 sound-dai = <&pcm3168a 0>;
485 simple-audio-card,dai-link@2 {
488 bitclock-master = <&sndcpu2>;
489 frame-master = <&sndcpu2>;
492 sound-dai = <&rcar_sound 5>;
495 mclk-fs = <512>;
496 prefix = "pcm3168a";
497 sound-dai = <&pcm3168a 1>;