ARM: shmobile: koelsch: Sound DMA support via DVC on DTS
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 4 Nov 2014 01:49:45 +0000 (17:49 -0800)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 19 Nov 2014 00:21:49 +0000 (09:21 +0900)
DMA transfer uses DVC

     DMA               DMApp
[MEM] -> [SRC] -> [DVC] -> [SSIU] -> [SSI]

     DMA               DMApp
[MEM] <- [DVC] <- [SRC] <- [SSIU] <- [SSI]

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

index d2fe67747e0a40f0f449faeff1b7310021d158b4..f056e64e50c19a6a94b4fd360763fbad88e87181 100644 (file)
  * This command is required when Playback/Capture
  *
  *     amixer set "LINEOUT Mixer DACL" on
+ *     amixer set "DVC Out" 100%
+ *     amixer set "DVC In" 100%
+ *
+ * You can use Mute
+ *
+ *     amixer set "DVC Out Mute" on
+ *     amixer set "DVC In Mute" on
  */
 
 /dts-v1/;
 
        rcar_sound,dai {
                dai0 {
-                       playback = <&ssi0 &src2>;
-                       capture  = <&ssi1 &src3>;
+                       playback = <&ssi0 &src2 &dvc0>;
+                       capture  = <&ssi1 &src3 &dvc1>;
                };
        };
 };