Lines Matching +full:clock +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.
16 $ref: /schemas/types.yaml#/definitions/phandle-array
19 bitclock-master:
20 description: Indicates dai-link bit clock master
21 $ref: /schemas/types.yaml#/definitions/phandle-array
24 frame-inversion:
25 description: dai-link uses frame clock inversion
28 bitclock-inversion:
29 description: dai-link uses bit clock inversion
32 dai-tdm-slot-num:
33 description: see tdm-slot.txt.
36 dai-tdm-slot-width:
37 description: see tdm-slot.txt.
40 system-clock-frequency:
42 If a clock is specified and a multiplication factor is given with
43 mclk-fs, the clock will be set to the calculated mclk frequency
47 system-clock-direction-out:
49 specifies clock direction as 'out' on initialization.
53 mclk-fs:
56 When defined, mclk-fs property defined in dai-link sub nodes are ignored.
59 aux-devs:
63 $ref: /schemas/types.yaml#/definitions/phandle-array
65 convert-rate:
69 convert-channels:
85 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
89 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
91 pin-switches:
93 $ref: /schemas/types.yaml#/definitions/string-array
99 - i2s
100 - right_j
101 - left_j
102 - dsp_a
103 - dsp_b
104 - ac97
105 - pdm
106 - msb
107 - lsb
112 sound-dai:
116 mclk-fs:
117 $ref: "#/definitions/mclk-fs"
120 frame-inversion:
121 $ref: "#/definitions/frame-inversion"
122 bitclock-inversion:
123 $ref: "#/definitions/bitclock-inversion"
124 frame-master:
126 bitclock-master:
129 dai-tdm-slot-num:
130 $ref: "#/definitions/dai-tdm-slot-num"
131 dai-tdm-slot-width:
132 $ref: "#/definitions/dai-tdm-slot-width"
135 system-clock-frequency:
136 $ref: "#/definitions/system-clock-frequency"
137 system-clock-direction-out:
138 $ref: "#/definitions/system-clock-direction-out"
140 - sound-dai
146 - simple-audio-card
147 - simple-scu-audio-card
149 "#address-cells":
151 "#size-cells":
157 simple-audio-card,name:
163 "^simple-audio-card,widgets$":
165 "^simple-audio-card,routing$":
167 "^simple-audio-card,cpu(@[0-9a-f]+)?":
169 "^simple-audio-card,codec(@[0-9a-f]+)?":
173 "^simple-audio-card,frame-master$":
174 $ref: "#/definitions/frame-master"
175 "^simple-audio-card,bitclock-master$":
176 $ref: "#/definitions/bitclock-master"
177 "^simple-audio-card,frame-inversion$":
178 $ref: "#/definitions/frame-inversion"
179 "^simple-audio-card,bitclock-inversion$":
180 $ref: "#/definitions/bitclock-inversion"
181 "^simple-audio-card,format$":
183 "^simple-audio-card,mclk-fs$":
184 $ref: "#/definitions/mclk-fs"
185 "^simple-audio-card,aux-devs$":
186 $ref: "#/definitions/aux-devs"
187 "^simple-audio-card,convert-rate$":
188 $ref: "#/definitions/convert-rate"
189 "^simple-audio-card,convert-channels$":
190 $ref: "#/definitions/convert-channels"
191 "^simple-audio-card,prefix$":
193 "^simple-audio-card,pin-switches$":
194 $ref: "#/definitions/pin-switches"
195 "^simple-audio-card,hp-det-gpio$":
197 "^simple-audio-card,mic-det-gpio$":
200 "^simple-audio-card,dai-link(@[0-9a-f]+)?$":
202 Container for dai-link level properties and the CPU and CODEC sub-nodes.
210 frame-master:
211 $ref: "#/definitions/frame-master"
212 bitclock-master:
213 $ref: "#/definitions/bitclock-master"
214 frame-inversion:
215 $ref: "#/definitions/frame-inversion"
216 bitclock-inversion:
217 $ref: "#/definitions/bitclock-inversion"
220 mclk-fs:
221 $ref: "#/definitions/mclk-fs"
222 aux-devs:
223 $ref: "#/definitions/aux-devs"
224 convert-rate:
225 $ref: "#/definitions/convert-rate"
226 convert-channels:
227 $ref: "#/definitions/convert-channels"
230 pin-switches:
231 $ref: "#/definitions/pin-switches"
232 hp-det-gpio:
234 mic-det-gpio:
238 "^cpu(@[0-9a-f]+)?":
240 "^codec(@[0-9a-f]+)?":
245 - compatible
250 #--------------------
252 #--------------------
253 - |
255 compatible = "simple-audio-card";
256 simple-audio-card,name = "VF610-Tower-Sound-Card";
257 simple-audio-card,format = "left_j";
258 simple-audio-card,bitclock-master = <&dailink0_master>;
259 simple-audio-card,frame-master = <&dailink0_master>;
260 simple-audio-card,widgets =
264 simple-audio-card,routing =
269 simple-audio-card,cpu {
270 sound-dai = <&sh_fsi2 0>;
273 dailink0_master: simple-audio-card,codec {
274 sound-dai = <&ak4648>;
279 #--------------------
281 #--------------------
282 - |
284 compatible = "simple-audio-card";
285 simple-audio-card,name = "Cubox Audio";
287 #address-cells = <1>;
288 #size-cells = <0>;
290 simple-audio-card,dai-link@0 { /* I2S - HDMI */
294 sound-dai = <&audio0>;
297 sound-dai = <&tda998x0>;
301 simple-audio-card,dai-link@1 { /* S/PDIF - HDMI */
304 sound-dai = <&audio1>;
307 sound-dai = <&tda998x1>;
311 simple-audio-card,dai-link@2 { /* S/PDIF - S/PDIF */
314 sound-dai = <&audio2>;
317 sound-dai = <&spdif_codec>;
322 #--------------------
325 #--------------------
326 - |
328 compatible = "simple-audio-card";
330 simple-audio-card,widgets =
332 simple-audio-card,routing =
337 simple-audio-card,aux-devs = <&>;
338 simple-audio-card,cpu {
339 sound-dai = <&ssi2>;
341 simple-audio-card,codec {
342 sound-dai = <&codec>;
347 #--------------------
349 #--------------------
350 - |
352 compatible = "simple-audio-card";
354 simple-audio-card,name = "rsnd-ak4643";
355 simple-audio-card,format = "left_j";
356 simple-audio-card,bitclock-master = <&sndcodec>;
357 simple-audio-card,frame-master = <&sndcodec>;
359 simple-audio-card,convert-rate = <48000>;
361 simple-audio-card,prefix = "ak4642";
362 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
365 sndcpu: simple-audio-card,cpu {
366 sound-dai = <&rcar_sound>;
369 sndcodec: simple-audio-card,codec {
370 sound-dai = <&ak4643>;
371 system-clock-frequency = <11289600>;
375 #--------------------
377 #--------------------
378 - |
380 compatible = "simple-audio-card";
381 #address-cells = <1>;
382 #size-cells = <0>;
384 simple-audio-card,name = "rsnd-ak4643";
385 simple-audio-card,format = "left_j";
386 simple-audio-card,bitclock-master = <&dpcmcpu>;
387 simple-audio-card,frame-master = <&dpcmcpu>;
389 simple-audio-card,convert-rate = <48000>;
390 simple-audio-card,convert-channels = <2>;
392 simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
395 dpcmcpu: simple-audio-card,cpu@0 {
397 sound-dai = <&rcar_sound 0>;
400 simple-audio-card,cpu@1 {
402 sound-dai = <&rcar_sound 1>;
405 simple-audio-card,codec {
407 sound-dai = <&ak4643>;
412 #--------------------
415 # CPU0 ------ ak4613
416 # CPU1 ------ PCM3168A-p /* DPCM 1ch/2ch */
417 # CPU2 --/ /* DPCM 3ch/4ch */
418 # CPU3 --/ /* DPCM 5ch/6ch */
419 # CPU4 --/ /* DPCM 7ch/8ch */
420 # CPU5 ------ PCM3168A-c
421 #--------------------
422 - |
424 compatible = "simple-audio-card";
425 #address-cells = <1>;
426 #size-cells = <0>;
428 simple-audio-card,routing =
434 simple-audio-card,dai-link@0 {
437 bitclock-master = <&sndcpu0>;
438 frame-master = <&sndcpu0>;
441 sound-dai = <&rcar_sound 0>;
444 sound-dai = <&ak4613>;
448 simple-audio-card,dai-link@1 {
451 bitclock-master = <&sndcpu1>;
452 frame-master = <&sndcpu1>;
454 convert-channels = <8>; /* TDM Split */
457 sound-dai = <&rcar_sound 1>;
460 sound-dai = <&rcar_sound 2>;
463 sound-dai = <&rcar_sound 3>;
466 sound-dai = <&rcar_sound 4>;
469 mclk-fs = <512>;
471 dai-tdm-slot-num = <8>;
472 sound-dai = <&pcm3168a 0>;
476 simple-audio-card,dai-link@2 {
479 bitclock-master = <&sndcpu2>;
480 frame-master = <&sndcpu2>;
483 sound-dai = <&rcar_sound 5>;
486 mclk-fs = <512>;
488 sound-dai = <&pcm3168a 1>;