ASoC: audio-graph-scu-card: support 2nd codec endpoint on DT
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 22 Jun 2017 06:22:49 +0000 (06:22 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 23 Jun 2017 12:03:02 +0000 (13:03 +0100)
commitf1f940490d3ccff96da9cc81d57c2c083c398a18
tree75b4fd85ba539b6301b3ee5028bc102cd39cc7e3
parent32f2bcce3ed10b93236d747701a9c04d51626cc2
ASoC: audio-graph-scu-card: support 2nd codec endpoint on DT

audio-graph-scu-card can handle below connection which is mainly
for sound mixing purpose.

+----------+   +-------+
| CPU0--+--|-->| Codec |
|       |  |   +-------+
| CPU1--+  |
+----------+

>From OF-graph point of view, it should have
CPU0 <-> Codec, and CPU1 <-> Codec on DT.
But current driver doesn't care about 2nd connection
of Codec, because it is dummy from DPCM point of view.

This patch can care 2nd Codec connection, and it should be
supported from OF-graph point of view.
It still have backward compatibility.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt
sound/soc/generic/audio-graph-scu-card.c