aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-11-25 06:39:13 +0000
committerSimon Horman <horms+renesas@verge.net.au>2015-11-26 11:31:43 +0900
commit672b79312c04016481a11d4b996b4512207ffbd3 (patch)
tree0e95ec9bb8ab26009c33782929279b3f480801fc /arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
parentarm64: renesas: salvator-x: Sound SRC support (diff)
downloadlinux-dev-672b79312c04016481a11d4b996b4512207ffbd3.tar.xz
linux-dev-672b79312c04016481a11d4b996b4512207ffbd3.zip
arm64: renesas: salvator-x: Sound DVC support
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts')
-rw-r--r--arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts27
1 files changed, 25 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 47bf252774d7..c5f709e7c0ba 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -8,6 +8,29 @@
* kind, whether express or implied.
*/
+/*
+ * SSI-AK4613
+ *
+ * This command is required when Playback/Capture
+ *
+ * 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
+ *
+ * You can use Volume Ramp
+ *
+ * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
+ * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
+ * amixer set "DVC Out Ramp" on
+ * aplay xxx.wav &
+ * amixer set "DVC Out" 80% // Volume Down
+ * amixer set "DVC Out" 100% // Volume Up
+ */
+
/dts-v1/;
#include "r8a7795.dtsi"
@@ -136,8 +159,8 @@
rcar_sound,dai {
dai0 {
- playback = <&ssi0 &src0>;
- capture = <&ssi1 &src1>;
+ playback = <&ssi0 &src0 &dvc0>;
+ capture = <&ssi1 &src1 &dvc1>;
};
};
};