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>
Fri, 5 Dec 2014 08:34:13 +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 e110c54107d9095c507645f8d95ec85ca250bc37)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager.dts

index 67aecae..0055c38 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>;
                };
        };
 };