diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-11-25 01:39:13 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-11-25 21:31:43 -0500 |
commit | 672b79312c04016481a11d4b996b4512207ffbd3 (patch) | |
tree | 0e95ec9bb8ab26009c33782929279b3f480801fc | |
parent | f7df91f5f2f987f2639d292dc3f9101ad7318cf7 (diff) |
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>
-rw-r--r-- | arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 27 |
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 @@ | |||
8 | * kind, whether express or implied. | 8 | * kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /* | ||
12 | * SSI-AK4613 | ||
13 | * | ||
14 | * This command is required when Playback/Capture | ||
15 | * | ||
16 | * amixer set "DVC Out" 100% | ||
17 | * amixer set "DVC In" 100% | ||
18 | * | ||
19 | * You can use Mute | ||
20 | * | ||
21 | * amixer set "DVC Out Mute" on | ||
22 | * amixer set "DVC In Mute" on | ||
23 | * | ||
24 | * You can use Volume Ramp | ||
25 | * | ||
26 | * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" | ||
27 | * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" | ||
28 | * amixer set "DVC Out Ramp" on | ||
29 | * aplay xxx.wav & | ||
30 | * amixer set "DVC Out" 80% // Volume Down | ||
31 | * amixer set "DVC Out" 100% // Volume Up | ||
32 | */ | ||
33 | |||
11 | /dts-v1/; | 34 | /dts-v1/; |
12 | #include "r8a7795.dtsi" | 35 | #include "r8a7795.dtsi" |
13 | 36 | ||
@@ -136,8 +159,8 @@ | |||
136 | 159 | ||
137 | rcar_sound,dai { | 160 | rcar_sound,dai { |
138 | dai0 { | 161 | dai0 { |
139 | playback = <&ssi0 &src0>; | 162 | playback = <&ssi0 &src0 &dvc0>; |
140 | capture = <&ssi1 &src1>; | 163 | capture = <&ssi1 &src1 &dvc1>; |
141 | }; | 164 | }; |
142 | }; | 165 | }; |
143 | }; | 166 | }; |