diff options
author | 2024-10-16 18:23:30 +0800 | |
---|---|---|
committer | 2024-10-17 18:42:15 +0100 | |
commit | 9489db97f6f0d78c26eef8e7fc9c1371cef97b82 (patch) | |
tree | 723750c6f3dec71a24b821a41f4b2b18a501f8ec | |
parent | ASoC: soc-acpi: introduce new 'machine check' callback (diff) | |
download | wireguard-linux-9489db97f6f0d78c26eef8e7fc9c1371cef97b82.tar.xz wireguard-linux-9489db97f6f0d78c26eef8e7fc9c1371cef97b82.zip |
ASoC: sdw_utils: add SmartMic DAI for RT712 VB
In theory the dailinks are created based on the number of endpoints
reported in ACPI match tables, so it should harmless to add a new
dailink: RT712 VA would not use it since it has only 2 endpoints.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241016102333.294448-9-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/sdw_utils/soc_sdw_utils.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sound/soc/sdw_utils/soc_sdw_utils.c b/sound/soc/sdw_utils/soc_sdw_utils.c index a9323cb444d0..a006f550ef35 100644 --- a/sound/soc/sdw_utils/soc_sdw_utils.c +++ b/sound/soc/sdw_utils/soc_sdw_utils.c @@ -144,8 +144,15 @@ struct asoc_sdw_codec_info codec_info_list[] = { .widgets = generic_spk_widgets, .num_widgets = ARRAY_SIZE(generic_spk_widgets), }, + { + .direction = {false, true}, + .dai_name = "rt712-sdca-aif3", + .dai_type = SOC_SDW_DAI_TYPE_MIC, + .dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID}, + .rtd_init = asoc_sdw_rt_dmic_rtd_init, + }, }, - .dai_num = 2, + .dai_num = 3, }, { .part_id = 0x1712, |