linux/sound/soc/sh/rcar
Kuninori Morimoto eed76bb811 ASoC: rsnd: add rsnd_runtime_channel_xxx()
Current SSI is supporting Normal SSI/Multi mode SSI/TDM mode SSI
and its behavior is based on input channels.
This input channel might be converted by CTU,
and SSI needs to be Multi SSI mode / TDM SSI mode if 6ch input

EX) 6ch input, CTU for 2ch, playback

 6ch    6ch    2ch    2ch    2ch     2ch
 -> SRC -> CTU -> MIX -> DVC -> SSIU -> SSI

EX) 6ch input, no CTU, Multi SSI, playback

 6ch    6ch    6ch    6ch    6ch     2ch
 -> SRC -> CTU -> MIX -> DVC -> SSIU -> SSI0/SSI1/SSI2

Current driver is using rsnd_get_adinr_chan() / rsnd_get_slot_width()
for this purpose, but it is complicated enough without meaning.
This patch adds new rsnd_runtime_channel_xxx() which is caring
CTU/Multi SSI.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-03-05 13:27:27 +09:00
..
Makefile ASoC: rsnd: use mod base common method on SSIU 2015-11-16 10:09:29 +00:00
adg.c ASoC: rsnd: each mod has status again for CTU/MUX support 2016-01-22 17:12:25 +00:00
cmd.c ASoC: rsnd: each mod has status again for CTU/MUX support 2016-01-22 17:12:25 +00:00
core.c ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
ctu.c ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
dma.c ASoC: rsnd: attach Audio-DMAC-periperi correctly 2016-01-22 17:12:25 +00:00
dvc.c ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
gen.c ASoC: rsnd: rsnd_write() / rsnd_bset() uses regmap _force_ function 2016-03-02 12:59:17 +09:00
mix.c ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
rsnd.h ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
rsrc-card.c ASoC: rsrc-card: add convert channels support 2016-03-05 13:27:27 +09:00
src.c ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
ssi.c ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00
ssiu.c ASoC: rsnd: add rsnd_runtime_channel_xxx() 2016-03-05 13:27:27 +09:00