Skip to content

Commit 4394639

Browse files
reddymurbardliao
authored andcommitted
ASoC: soc-acpi: Add entry for rt711-sdca-sdw in ADL match table
RT711 sdca sdw is added with SDW0 link for ADL-PS platform. Signed-off-by: Muralidhar Reddy <muralidhar.reddy@intel.com>
1 parent 92d7172 commit 4394639

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

sound/soc/intel/common/soc-acpi-intel-adl-match.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,15 @@ static const struct snd_soc_acpi_link_adr adl_rvp[] = {
359359
{}
360360
};
361361

362+
static const struct snd_soc_acpi_link_adr adlps_rvp[] = {
363+
{
364+
.mask = BIT(0),
365+
.num_adr = ARRAY_SIZE(rt711_sdca_0_adr),
366+
.adr_d = rt711_sdca_0_adr,
367+
},
368+
{}
369+
};
370+
362371
static const struct snd_soc_acpi_link_adr adl_chromebook_base[] = {
363372
{
364373
.mask = BIT(0),
@@ -529,6 +538,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_sdw_machines[] = {
529538
.drv_name = "sof_sdw",
530539
.sof_tplg_filename = "sof-adl-rt711.tplg",
531540
},
541+
{
542+
.link_mask = 0x1, /* link0 required */
543+
.links = adlps_rvp,
544+
.drv_name = "sof_sdw",
545+
.sof_tplg_filename = "sof-adl-rt711.tplg",
546+
},
532547
{
533548
.link_mask = 0x5, /* rt5682 on link0 & 2xmax98373 on link 2 */
534549
.links = adl_chromebook_base,

0 commit comments

Comments
 (0)