Skip to content

Commit

Permalink
ASoC: soc-acpi: Add entry for rt711-sdca-sdw in ADL match table
Browse files Browse the repository at this point in the history
RT711 sdca sdw is added with SDW0 link for ADL-PS platform.

Signed-off-by: Muralidhar Reddy <muralidhar.reddy@intel.com>
  • Loading branch information
reddymur authored and bardliao committed Mar 10, 2022
1 parent 92d7172 commit 4394639
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sound/soc/intel/common/soc-acpi-intel-adl-match.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,15 @@ static const struct snd_soc_acpi_link_adr adl_rvp[] = {
{}
};

static const struct snd_soc_acpi_link_adr adlps_rvp[] = {
{
.mask = BIT(0),
.num_adr = ARRAY_SIZE(rt711_sdca_0_adr),
.adr_d = rt711_sdca_0_adr,
},
{}
};

static const struct snd_soc_acpi_link_adr adl_chromebook_base[] = {
{
.mask = BIT(0),
Expand Down Expand Up @@ -529,6 +538,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_sdw_machines[] = {
.drv_name = "sof_sdw",
.sof_tplg_filename = "sof-adl-rt711.tplg",
},
{
.link_mask = 0x1, /* link0 required */
.links = adlps_rvp,
.drv_name = "sof_sdw",
.sof_tplg_filename = "sof-adl-rt711.tplg",
},
{
.link_mask = 0x5, /* rt5682 on link0 & 2xmax98373 on link 2 */
.links = adl_chromebook_base,
Expand Down

0 comments on commit 4394639

Please sign in to comment.