Lines Matching +full:clock +full:- +full:skip

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car Sound Driver
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
17 - items:
18 - enum:
19 - renesas,rcar_sound-r8a7778 # R-Car M1A
20 - renesas,rcar_sound-r8a7779 # R-Car H1
21 - const: renesas,rcar_sound-gen1
23 - items:
24 - enum:
25 - renesas,rcar_sound-r8a7742 # RZ/G1H
26 - renesas,rcar_sound-r8a7743 # RZ/G1M
27 - renesas,rcar_sound-r8a7744 # RZ/G1N
28 - renesas,rcar_sound-r8a7745 # RZ/G1E
29 - renesas,rcar_sound-r8a77470 # RZ/G1C
30 - renesas,rcar_sound-r8a7790 # R-Car H2
31 - renesas,rcar_sound-r8a7791 # R-Car M2-W
32 - renesas,rcar_sound-r8a7793 # R-Car M2-N
33 - renesas,rcar_sound-r8a7794 # R-Car E2
34 - const: renesas,rcar_sound-gen2
36 - items:
37 - enum:
38 - renesas,rcar_sound-r8a774a1 # RZ/G2M
39 - renesas,rcar_sound-r8a774b1 # RZ/G2N
40 - renesas,rcar_sound-r8a774c0 # RZ/G2E
41 - renesas,rcar_sound-r8a774e1 # RZ/G2H
42 - renesas,rcar_sound-r8a7795 # R-Car H3
43 - renesas,rcar_sound-r8a7796 # R-Car M3-W
44 - renesas,rcar_sound-r8a77961 # R-Car M3-W+
45 - renesas,rcar_sound-r8a77965 # R-Car M3-N
46 - renesas,rcar_sound-r8a77990 # R-Car E3
47 - renesas,rcar_sound-r8a77995 # R-Car D3
48 - const: renesas,rcar_sound-gen3
50 - items:
51 - enum:
52 - renesas,rcar_sound-r8a779g0 # R-Car V4H
53 - renesas,rcar_sound-r8a779h0 # R-Car V4M
54 - const: renesas,rcar_sound-gen4
56 - enum:
57 - renesas,rcar_sound-gen1
58 - renesas,rcar_sound-gen2
59 - renesas,rcar_sound-gen3
60 - renesas,rcar_sound-gen4
66 reg-names:
70 "#sound-dai-cells":
74 This is used on simple-audio-card
77 "#clock-cells":
83 "#address-cells":
86 "#size-cells":
89 clock-frequency:
92 clkout-lr-asynchronous:
93 description: audio_clkoutn is asynchronizes with lr-clock.
96 power-domains: true
102 reset-names:
111 clock-names:
112 description: List of necessary clock names.
115 post-init-providers:
116 description: At least if rsnd is using DPCM connection on Audio-Graph-Card2,
119 Multi-CPU/Codec or Codec2Codec.
123 $ref: audio-graph-port.yaml#/definitions/port-base
126 "^endpoint(@[0-9a-f]+)?":
127 $ref: audio-graph-port.yaml#/definitions/endpoint-base
130 $ref: /schemas/types.yaml#/definitions/phandle-array
132 $ref: /schemas/types.yaml#/definitions/phandle-array
139 "^dvc-[0-1]$":
146 dma-names:
149 - dmas
150 - dma-names
157 "^mix-[0-1]$":
166 "^ctu-[0-7]$":
175 "^src-[0-9]$":
184 dma-names:
186 - items:
188 - tx
189 - rx
196 "^ssiu-[0-9]+$":
203 dma-names:
205 - items:
207 - tx
208 - rx
210 - dmas
211 - dma-names
218 "^ssi-[0-9]$":
228 dma-names:
230 - items:
232 - tx
233 - rx
234 - txu # if no ssiu node
235 - rxu # if no ssiu node
237 shared-pin:
238 description: shared clock pin
240 pio-transfer:
243 no-busif:
244 description: BUSIF is not used when [mem -> SSI] via DMA case
247 - interrupts
252 'rcar_sound,dai(@[0-9a-f]+)?$':
256 "^dai([0-9]+)?$":
262 $ref: /schemas/types.yaml#/definitions/phandle-array
264 $ref: /schemas/types.yaml#/definitions/phandle-array
266 - required:
267 - playback
268 - required:
269 - capture
272 'ports(@[0-9a-f]+)?$':
273 $ref: audio-graph-port.yaml#/definitions/port-base
276 '^port(@[0-9a-f]+)?$':
280 - compatible
281 - reg
282 - reg-names
283 - clocks
284 - clock-names
287 - $ref: dai-common.yaml#
289 # --------------------
290 # reg/reg-names
291 # --------------------
293 - if:
297 const: renesas,rcar_sound-gen1
302 reg-names:
305 - sru
306 - ssi
307 - adg
309 - if:
314 - renesas,rcar_sound-gen2
315 - renesas,rcar_sound-gen3
320 reg-names:
323 - scu
324 - adg
325 - ssiu
326 - ssi
327 - audmapp
329 - if:
333 const: renesas,rcar_sound-gen4
338 reg-names:
341 - adg
342 - ssiu
343 - ssi
344 - sdmc
346 # --------------------
347 # clock-names
348 # --------------------
349 - if:
353 const: renesas,rcar_sound-gen4
356 clock-names:
360 - ssi.0
361 - ssiu.0
362 - clkin
365 clock-names:
370 - const: ssi-all
371 - pattern: '^ssi\.[0-9]$'
372 - pattern: '^src\.[0-9]$'
373 - pattern: '^mix\.[0-1]$'
374 - pattern: '^ctu\.[0-1]$'
375 - pattern: '^dvc\.[0-1]$'
376 - pattern: '^clk_(a|b|c|i)$'
381 - |
382 #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
383 #include <dt-bindings/interrupt-controller/arm-gic.h>
384 #include <dt-bindings/power/r8a7790-sysc.h>
386 #sound-dai-cells = <1>;
387 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
393 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
395 clocks = <&cpg CPG_MOD 1005>, /* SSI-ALL */
412 clock-names = "ssi-all",
429 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
435 reset-names = "ssi-all",
441 dvc0: dvc-0 {
443 dma-names = "tx";
445 dvc1: dvc-1 {
447 dma-names = "tx";
452 mix0: mix-0 { };
453 mix1: mix-1 { };
457 ctu00: ctu-0 { };
458 ctu01: ctu-1 { };
459 ctu02: ctu-2 { };
460 ctu03: ctu-3 { };
461 ctu10: ctu-4 { };
462 ctu11: ctu-5 { };
463 ctu12: ctu-6 { };
464 ctu13: ctu-7 { };
468 src0: src-0 {
471 src1: src-1 {
474 dma-names = "rx", "tx";
476 /* skip after src-2 */
480 ssiu00: ssiu-0 {
482 dma-names = "rx", "tx";
484 ssiu01: ssiu-1 {
486 dma-names = "rx", "tx";
488 /* skip after ssiu-2 */
492 ssi0: ssi-0 {
495 dma-names = "rx", "tx";
497 ssi1: ssi-1 {
500 dma-names = "rx", "tx";
502 /* skip other ssi-2 */
525 /* assume audio-graph */
528 remote-endpoint = <&codec_endpoint>;
530 dai-format = "left_j";
531 bitclock-master = <&rsnd_endpoint0>;
532 frame-master = <&rsnd_endpoint0>;
540 /* assume audio-graph */
544 remote-endpoint = <&rsnd_endpoint>;