linux-stable/sound/soc/intel
Bard Liao 07140abbbf
ASoC: Intel: sof_sdw: add dai info
The existing code create a dailink for a codec. However, we may need
multi dailinks for a codec. This commit adds a new struct in
sof_sdw_codec_info{} to store the dai info of a codec.
The initial assumption if that we will create at most 3 dailink types
for a codec, since this is the max known with upcoming SDCA devices. We
may need to increase this number as new SDCA 'functions' become available.

One strong assumption is that all dailinks exposed are independent, as per
SDCA directions.

This commit just moves some items into the new sof_sdw_dai_info struct.
There is no function changed. Multi dais supported will be added in the
follow up commits.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230602202225.249209-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-06-05 14:00:09 +01:00
..
atom ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
avs ASoC: intel: avs: use asoc_dummy_dlc 2023-05-08 08:47:12 +09:00
boards ASoC: Intel: sof_sdw: add dai info 2023-06-05 14:00:09 +01:00
catpt ASoC: Intel: catpt: Convert to platform remove callback returning void 2023-03-20 13:08:33 +00:00
common ASoC: Intel: soc-acpi: add tables for LunarLake 2023-05-15 20:11:58 +09:00
keembay ASoC: Intel: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:27 +01:00
skylake ASoC: Intel: skl-ssp-clk: Convert to platform remove callback returning void 2023-03-20 13:08:34 +00:00
Kconfig ASoC: Intel: avs: Probe compress operations 2022-12-05 14:05:27 +00:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00