Skip to content

Commit 473b51f

Browse files
plbossartbardliao
authored andcommitted
ASoC: sdw_utils: add SmartMic DAI for RT713 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: RT713 VA would not use it since it has only 2 endpoints. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 125efe7 commit 473b51f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,15 @@ struct asoc_sdw_codec_info codec_info_list[] = {
185185
.widgets = generic_jack_widgets,
186186
.num_widgets = ARRAY_SIZE(generic_jack_widgets),
187187
},
188+
{
189+
.direction = {false, true},
190+
.dai_name = "rt712-sdca-aif3",
191+
.dai_type = SOC_SDW_DAI_TYPE_MIC,
192+
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},
193+
.rtd_init = asoc_sdw_rt_dmic_rtd_init,
194+
},
188195
},
189-
.dai_num = 1,
196+
.dai_num = 2,
190197
},
191198
{
192199
.part_id = 0x1713,

0 commit comments

Comments
 (0)