]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
arm64: dts: r8a7795: Tidyup Audio-DMAC channel for DVC
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 7 Mar 2017 05:30:06 +0000 (05:30 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 7 Mar 2017 06:51:11 +0000 (07:51 +0100)
Current Audio-DMAC is assigned "rx" as Audio-DMAC0, "tx" as Audio-DMAC1.
Thus, DVC "tx" should be assigned as Audio-DMAC1, instead of Audio-DMAC0.

Because of this, current platform board (using SRC/DVC/SSI)
Playback/Capture both will use same Audio-DMAC0
(but it depends on audio data path).

First note is that this "rx" and "tx" are from each IP point,
it doesn't mean Playback/Capture.
Second note is that Audio DMAC assigned on DT is only for
Audio-DMAC, Audio-DMAC-peri-peri has no entry.

=> Audio-DMAC
-> Audio-DMAC-peri-peri
-- HW connection

Playback case

[Mem] => [SRC]--[DVC] -> [SSI]--[Codec]
      rx ~~~~~~~~~~~~
Capture

[Mem] <= [DVC]--[SRC] <- [SSI]--[Codec]
      tx ~~~~~~~~~~~~

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795.dtsi

index 14772bc02125043d4e66ffba50811d8636ef7e09..55c09f1b89c947853c580c23005b07ab647c2ae4 100644 (file)
 
                        rcar_sound,dvc {
                                dvc0: dvc-0 {
-                                       dmas = <&audma0 0xbc>;
+                                       dmas = <&audma1 0xbc>;
                                        dma-names = "tx";
                                };
                                dvc1: dvc-1 {
-                                       dmas = <&audma0 0xbe>;
+                                       dmas = <&audma1 0xbe>;
                                        dma-names = "tx";
                                };
                        };