ASoC: rsnd: add Gen2 SRC and DMAEngine support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 24 Jan 2014 02:42:00 +0000 (18:42 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:41:38 +0000 (12:41 +0000)
commit629509c5bc478c0343d94c8c70812396f44447fb
treecdeab0938f68fe265bdd54b219c369213988f0b4
parenteb854f6dff24a59378acc8d8eda57a3543a25acc
ASoC: rsnd: add Gen2 SRC and DMAEngine support

Renesas sound Gen2 has SRC (= Sampling Rate Converter)
which needs 2 DMAC.
The data path image when you use SRC on Gen2 is

[mem] -> Audio-DMAC -> SRC -> Audio-DMAC-peri-peri -> SSIU -> SSI

This patch support SRC and DMAEnine.
It is tested on R-Car H2 Lager board

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/rcar_snd.h
sound/soc/sh/rcar/adg.c
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/scu.c