]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: audio-graph-card2-custom-sample.dtsi: add Codec2Codec sample (Multi)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 12 Oct 2021 04:56:35 +0000 (13:56 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 15 Oct 2021 15:10:49 +0000 (16:10 +0100)
commita07af7f4336d82beee435e2866347108cf5a01b7
tree6512d059c23ce733fbd2cce4219cd6500d48e126
parent7c4278dfe7a6915a701470fcd98585fbf1cd72c6
ASoC: audio-graph-card2-custom-sample.dtsi: add Codec2Codec sample (Multi)

This patch adds Codec2Codec-Multi sample to audio-graph-card2-custom-sample.dtsi.
Because it can use very basic connection only for now,
it can use only

- 2channels
- S32_LE format

Test-Component driver has "IN" and "OUT" widget. Thus the route is

+--+    +-+
|  |    | |- Codec8 <- IN
|  | <- | |- Codec9 <- IN
|  |    +-+
|  |
|  |    +-+
|  | -> | |- Codec10 -> OUT
|  |    | |- Codec11 -> OUT
+--+    +-+

One note here is that it will start works when it boot.
In other words we can't stop it so far.
We need to update driver for it in the future.

...
asoc-audio-graph-card2-custom-sample: multicodec <-> multicpu mapping ok
test-component test_codec: test_dai_startup() : test_codec.9
test-component test_codec: test_dai_startup() : test_codec.8
test-component test_codec: test_dai_startup() : test_codec.11
test-component test_codec: test_dai_startup() : test_codec.10
...

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87mtnelu2k.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card2-custom-sample.dtsi