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>
Fri, 5 Dec 2014 08:34:16 +0000 (17:34 +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>
(cherry picked from commit 5c6d4b947aeca23e10f7d4ddf2041eda51b0ded2)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-koelsch.dts

index 93a586a..b12e97b 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>;
                };
        };
 };