linux-stable/sound/soc
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
..
adi ASoC: adi: axi-spdif: Convert to platform remove callback returning void 2023-03-20 13:07:10 +00:00
amd ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG 2023-06-02 13:48:44 +01:00
apple ASoC: apple: mca: Convert to platform remove callback returning void 2023-03-20 13:07:18 +00:00
atmel ASoC: atmel: sam9g20_wm8731: Remove the unneeded include <linux/i2c.h> 2023-05-22 11:18:52 +01:00
au1x ASoC: au1x: psc-i2s: Convert to platform remove callback returning void 2023-03-20 13:07:31 +00:00
bcm ASoC: bcm: cygnus-ssp: Convert to platform remove callback returning void 2023-03-20 13:07:33 +00:00
cirrus ASoC: ep93xx: Add OF support 2023-04-12 12:54:23 +01:00
codecs ASoC: nau8825: Update output control for NAU8825C 2023-06-02 12:55:34 +01:00
dwc ASoC: Merge up fixes for CI 2023-05-15 19:55:52 +09:00
fsl ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
generic ASoC: simple_card_utils.c: use asoc_dummy_dlc 2023-05-08 08:47:14 +09:00
google ASoC: Add Google Chameleon v3 i2s driver 2023-05-17 10:37:07 +09:00
hisilicon
img ASoC: img: pistachio-internal-dac: Convert to platform remove callback returning void 2023-03-20 13:08:22 +00:00
intel ASoC: Intel: sof_sdw: add dai info 2023-06-05 14:00:09 +01:00
jz4740 ASoC: Merge up fixes for CI 2023-05-15 19:55:52 +09:00
kirkwood ASoC: kirkwood: kirkwood-i2s: Convert to platform remove callback returning void 2023-03-20 13:08:35 +00:00
mediatek ES8316 audio codec fixes on Rock5B 2023-05-30 20:41:29 +01:00
meson ASoC: meson: use asoc_dummy_dlc 2023-05-08 08:47:11 +09:00
mxs ASoC: mxs: mxs-sgtl5000: Convert to platform remove callback returning void 2023-03-20 13:08:44 +00:00
pxa ASoC: pxa: pxa2xx-ac97: Convert to platform remove callback returning void 2023-03-20 13:08:46 +00:00
qcom ASoC: use pm.h instead of runtime_pm.h 2023-05-23 13:55:56 +01:00
rockchip ALSA/ASoC: Convert to platform remove callback 2023-03-21 16:29:48 +00:00
samsung ASoC: samsung: switch to use c2c_params instead of params 2023-04-05 12:16:38 +01:00
sh ASoC: sh: siu_dai: Convert to platform remove callback returning void 2023-03-20 13:09:01 +00:00
sof ASoC: SOF: mediatek: add adsp debug dump 2023-06-01 12:30:44 +01:00
spear
sprd ASoC: sprd: sprd-mcdt: Convert to platform remove callback returning void 2023-03-20 13:09:02 +00:00
starfive ASoC: starfive: Add JH7110 TDM driver 2023-06-01 12:30:41 +01:00
sti
stm ASoC: stm32: sai: Use the devm_clk_get_optional() helper 2023-05-22 11:18:55 +01:00
sunxi ASoC: sunxi: sun8i-codec: Convert to platform remove callback returning void 2023-03-20 13:09:10 +00:00
tegra ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
ti ASoC: ti: davinci-mcasp: Use pcm_for_each_format() macro 2023-05-30 13:43:38 +01:00
uniphier ASoC: uniphier: evea: Convert to platform remove callback returning void 2023-03-20 13:09:31 +00:00
ux500 ASoC: ux500: ux500_msp_dai: Convert to platform remove callback returning void 2023-03-20 13:09:32 +00:00
xilinx ASoC: xilinx: xlnx_spdif: Convert to platform remove callback returning void 2023-03-20 13:09:34 +00:00
xtensa ASoC: xtensa: xtfpga-i2s: Convert to platform remove callback returning void 2023-03-20 13:09:35 +00:00
Kconfig ASoC: starfive: Add JH7110 TDM driver 2023-06-01 12:30:41 +01:00
Makefile ASoC: starfive: Add JH7110 TDM driver 2023-06-01 12:30:41 +01:00
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: Add notify control helper function 2023-05-15 20:11:17 +09:00
soc-compress.c ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
soc-core.c ASoC: add snd_soc_card_mutex_lock/unlock() 2023-04-17 12:57:26 +01:00
soc-dai.c ASoC: soc-dai.c: add missing flag check at snd_soc_pcm_dai_probe() 2023-03-14 13:58:56 +00:00
soc-dapm.c ASoC: expand snd_soc_dapm_mutex_lock/unlock() 2023-04-17 12:57:24 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm.c: tidyup playback/capture_only at soc_get_playback_capture() 2023-05-31 12:25:06 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: Allow partial matching when finding DAI link 2023-05-30 14:11:02 +01:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils.c: add asoc_dummy_dlc 2023-05-08 08:47:05 +09:00