ARM: shmobile: lager: Sound DMA support via DVC on DTS
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 4 Nov 2014 01:48:38 +0000 (17:48 -0800)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 19 Nov 2014 00:21:46 +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/r8a7790-lager.dts

index a249270a789fb96906760c58ad3ce000fb99f404..2f91740505fd1ec60753fdd1ca4b6d43e32af99b 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>;
                };
        };
 };