linux/sound/soc/sh/rcar
Kuninori Morimoto 3e3c9ee1e4 ASoC: rsnd: add MIX Volume Ramp support
Both DVC/MIX have Volume Ramp Control. This patch supprts MIX
Volume Ramp. One note is that main purpose of MIX Volume Ramp
is to reduce noise, thus, MIX Ramp range is very few if you
compare to DVC Volume Ramp (DVC = 5bit, MIX = 4bit).

You can use MIX Volume Ranp like below
	amixer set "MIX Ramp Up Rate"   "0.125 dB/1 step"
	amixer set "MIX Ramp Down Rate" "0.125 dB/1 step"
	amixer set "MIX Ramp" on
	aplay xxx.wav &
	amixer set "MIX",0  80%  // DAI0 Volume Down
	amixer set "MIX",1 100%  // DAI1 Volume Up

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-10-04 11:50:41 +01:00
..
adg.c ASoC: rsnd: use generic rsnd_flags_xxx() macro on ADG 2017-10-04 11:50:24 +01:00
cmd.c ASoC: rsnd: make arrays path and cmd_case static const 2017-06-30 12:45:36 +01:00
core.c ASoC: rsnd: add MIX Volume Ramp support 2017-10-04 11:50:41 +01:00
ctu.c ASoC: rsnd: CTU kctrl sets once 2017-10-04 11:50:32 +01:00
dma.c ASoC: rsnd: add rsnd_dma_alloc() 2017-09-21 17:50:48 +01:00
dvc.c ASoC: rsnd: makes volume ramp rate list generic 2017-10-04 11:50:38 +01:00
gen.c ASoC: rsnd: Delete an error message for a failed memory allocation in three functions 2017-08-10 16:32:38 +01:00
Makefile ASoC: rsrc-card: rename rsrc-card to simple-scu-card phase3 2016-08-24 11:19:16 +01:00
mix.c ASoC: rsnd: add MIX Volume Ramp support 2017-10-04 11:50:41 +01:00
rsnd.h ASoC: rsnd: add MIX Volume Ramp support 2017-10-04 11:50:41 +01:00
src.c ASoC: rsnd: remove unused rsnd_xxx_to_dma() 2017-08-22 16:30:57 +01:00
ssi.c ASoC: rsnd: add generic rsnd_flags_xxx() macro 2017-10-04 11:50:19 +01:00
ssiu.c ASoC: rsnd: remove unnecessary static in rsnd_ssiu_probe() 2017-07-17 17:00:57 +01:00