linux_dsm_epyc7002/sound/soc/generic
Kuninori Morimoto 710af9196c
ASoC: simple-card: support snd_soc_dai_link_component style for codec
Current ASoC is supporting snd_soc_dai_link_component for binding,
it is more useful than current legacy style.
Currently only codec is supporting it as multicodec (= codecs).
CPU will support multi style in the future.
We want to have it on Platform too in the future.

If all Codec/CPU/Platform are replaced into snd_soc_dai_link_component
style, we can remove legacy complex style.
This patch supports snd_soc_dai_link_component style
for simple-card for codec.

[current]
struct snd_soc_dai_link {
	...
	*cpu_name;
	*cpu_of_node;
	*cpu_dai_name;

	*codec_name;
	*codec_of_node;
	*codec_dai_name;
	*codecs;
	num_codecs;

	*platform_name;
	*platform_of_node;
	...
}

[in the future]
struct snd_soc_dai_link {
	...
	*cpus
	num_cpus;

	*codecs;
	num_codecs;

	*platform;
	...
}

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-08-31 15:58:11 +01:00
..
audio-graph-card.c ASoC: audio-graph-card.c: convert to SPDX identifiers 2018-07-02 10:53:17 +01:00
audio-graph-scu-card.c ASoC: audio-graph-scu-card.c: convert to SPDX identifiers 2018-07-02 10:53:33 +01:00
Kconfig ASoC: add audio-graph-scu-card support 2017-05-29 14:49:09 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
simple-card-utils.c ASoC: simple_card_utils: support snd_soc_dai_link_component style for codec 2018-08-31 15:58:07 +01:00
simple-card.c ASoC: simple-card: support snd_soc_dai_link_component style for codec 2018-08-31 15:58:11 +01:00
simple-scu-card.c ASoC: simple-scu-card.c: convert to SPDX identifiers 2018-07-02 10:53:06 +01:00