Skip to content

Commit f033865

Browse files
committed
TEST: ASoC: soc_sdw_utils: add componion amp dai for rt712 and rt1320
Add the componion amp dai info for rt712 and rt1320. This commit is only for testing which is not a correct information. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent ef32491 commit f033865

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

‎sound/soc/sdw_utils/soc_sdw_utils.c‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,17 @@ struct asoc_sdw_codec_info codec_info_list[] = {
372372
.quirk = SOC_SDW_CODEC_MIC,
373373
.quirk_exclude = true,
374374
},
375+
/* Companion amp */
376+
{
377+
.direction = {true, true},
378+
.dai_name = "rt712-sdca-aif4",
379+
.dai_type = SOC_SDW_DAI_TYPE_AMP,
380+
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_AMP_IN_DAI_ID},
381+
.rtd_init = asoc_sdw_rt_mf_sdca_spk_rtd_init,
382+
.quirk = SOC_SDW_COMPANION_AMPS,
383+
},
375384
},
376-
.dai_num = 3,
385+
.dai_num = 4,
377386
},
378387
{
379388
.vendor_id = 0x025d,
@@ -537,8 +546,16 @@ struct asoc_sdw_codec_info codec_info_list[] = {
537546
.widgets = generic_dmic_widgets,
538547
.num_widgets = ARRAY_SIZE(generic_dmic_widgets),
539548
},
549+
/* Companion amp */
550+
{
551+
.direction = {true, true},
552+
.dai_name = "rt1320-aif3",
553+
.dai_type = SOC_SDW_DAI_TYPE_AMP,
554+
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_AMP_IN_DAI_ID},
555+
.quirk = SOC_SDW_COMPANION_AMPS,
556+
},
540557
},
541-
.dai_num = 2,
558+
.dai_num = 3,
542559
},
543560
{
544561
.vendor_id = 0x025d,

0 commit comments

Comments
 (0)