Lines Matching +full:no +full:- +full:busif
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 - const: renesas,rcar_sound-r8a779g0 # R-Car V4H
52 - const: renesas,rcar_sound-gen4
54 - enum:
55 - renesas,rcar_sound-gen1
56 - renesas,rcar_sound-gen2
57 - renesas,rcar_sound-gen3
63 reg-names:
67 "#sound-dai-cells":
71 This is used on simple-audio-card
74 "#clock-cells":
80 "#address-cells":
83 "#size-cells":
86 clock-frequency:
89 clkout-lr-asynchronous:
90 description: audio_clkoutn is asynchronizes with lr-clock.
93 power-domains: true
99 reset-names:
108 clock-names:
114 $ref: audio-graph-port.yaml#/definitions/port-base
117 "^endpoint(@[0-9a-f]+)?":
118 $ref: audio-graph-port.yaml#/definitions/endpoint-base
121 $ref: /schemas/types.yaml#/definitions/phandle-array
123 $ref: /schemas/types.yaml#/definitions/phandle-array
130 "^dvc-[0-1]$":
137 dma-names:
140 - dmas
141 - dma-names
148 "^mix-[0-1]$":
157 "^ctu-[0-7]$":
166 "^src-[0-9]$":
175 dma-names:
177 - items:
179 - tx
180 - rx
187 "^ssiu-[0-9]+$":
194 dma-names:
196 - items:
198 - tx
199 - rx
201 - dmas
202 - dma-names
209 "^ssi-[0-9]$":
219 dma-names:
221 - items:
223 - tx
224 - rx
225 - txu # if no ssiu node
226 - rxu # if no ssiu node
228 shared-pin:
231 pio-transfer:
234 no-busif:
235 description: BUSIF is not used when [mem -> SSI] via DMA case
238 - interrupts
243 'rcar_sound,dai(@[0-9a-f]+)?$':
247 "^dai([0-9]+)?$":
253 $ref: /schemas/types.yaml#/definitions/phandle-array
255 $ref: /schemas/types.yaml#/definitions/phandle-array
257 - required:
258 - playback
259 - required:
260 - capture
263 'ports(@[0-9a-f]+)?$':
264 $ref: audio-graph-port.yaml#/definitions/port-base
267 '^port(@[0-9a-f]+)?$':
271 - compatible
272 - reg
273 - reg-names
274 - clocks
275 - clock-names
278 - $ref: dai-common.yaml#
280 # --------------------
281 # reg/reg-names
282 # --------------------
284 - if:
288 const: renesas,rcar_sound-gen1
293 reg-names:
296 - scu
297 - ssi
298 - adg
300 - if:
305 - renesas,rcar_sound-gen2
306 - renesas,rcar_sound-gen3
311 reg-names:
314 - scu
315 - adg
316 - ssiu
317 - ssi
318 - audmapp
320 - if:
324 const: renesas,rcar_sound-gen4
329 reg-names:
332 - adg
333 - ssiu
334 - ssi
335 - sdmc
337 # --------------------
338 # clock-names
339 # --------------------
340 - if:
344 const: renesas,rcar_sound-gen4
347 clock-names:
351 - ssi.0
352 - ssiu.0
353 - clkin
356 clock-names:
361 - const: ssi-all
362 - pattern: '^ssi\.[0-9]$'
363 - pattern: '^src\.[0-9]$'
364 - pattern: '^mix\.[0-1]$'
365 - pattern: '^ctu\.[0-1]$'
366 - pattern: '^dvc\.[0-1]$'
367 - pattern: '^clk_(a|b|c|i)$'
372 - |
373 #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
374 #include <dt-bindings/interrupt-controller/arm-gic.h>
375 #include <dt-bindings/power/r8a7790-sysc.h>
377 #sound-dai-cells = <1>;
378 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
384 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
386 clocks = <&cpg CPG_MOD 1005>, /* SSI-ALL */
403 clock-names = "ssi-all",
420 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
426 reset-names = "ssi-all",
432 dvc0: dvc-0 {
434 dma-names = "tx";
436 dvc1: dvc-1 {
438 dma-names = "tx";
443 mix0: mix-0 { };
444 mix1: mix-1 { };
448 ctu00: ctu-0 { };
449 ctu01: ctu-1 { };
450 ctu02: ctu-2 { };
451 ctu03: ctu-3 { };
452 ctu10: ctu-4 { };
453 ctu11: ctu-5 { };
454 ctu12: ctu-6 { };
455 ctu13: ctu-7 { };
459 src0: src-0 {
462 src1: src-1 {
465 dma-names = "rx", "tx";
467 /* skip after src-2 */
471 ssiu00: ssiu-0 {
473 dma-names = "rx", "tx";
475 ssiu01: ssiu-1 {
477 dma-names = "rx", "tx";
479 /* skip after ssiu-2 */
483 ssi0: ssi-0 {
486 dma-names = "rx", "tx";
488 ssi1: ssi-1 {
491 dma-names = "rx", "tx";
493 /* skip other ssi-2 */
516 /* assume audio-graph */
519 remote-endpoint = <&codec_endpoint>;
521 dai-format = "left_j";
522 bitclock-master = <&rsnd_endpoint0>;
523 frame-master = <&rsnd_endpoint0>;
531 /* assume audio-graph */
535 remote-endpoint = <&rsnd_endpoint>;