Skip to content

Commit f5460a1

Browse files
apoorvintelbroonie
authored andcommitted
ASoC: Intel: soc-acpi: Add entry for rt711-sdca-sdw at link 2 in RPL match table
RT711 sdca sdw is added with SDW2 link for RPL-P CRB platform. Signed-off-by: apoorv <apoorv@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20230419195524.46995-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0589246 commit f5460a1

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,15 @@ static const struct snd_soc_acpi_link_adr rpl_sdw_rt1316_link12_rt714_link0[] =
284284
{}
285285
};
286286

287+
static const struct snd_soc_acpi_link_adr rplp_crb[] = {
288+
{
289+
.mask = BIT(2),
290+
.num_adr = ARRAY_SIZE(rt711_sdca_2_adr),
291+
.adr_d = rt711_sdca_2_adr,
292+
},
293+
{}
294+
};
295+
287296
static const struct snd_soc_acpi_codecs rpl_rt5682_hp = {
288297
.num_codecs = 2,
289298
.codecs = {"10EC5682", "RTL5682"},
@@ -348,7 +357,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_sdw_machines[] = {
348357
.link_mask = 0x1, /* link0 required */
349358
.links = rpl_rvp,
350359
.drv_name = "sof_sdw",
351-
.sof_tplg_filename = "sof-rpl-rt711.tplg",
360+
.sof_tplg_filename = "sof-rpl-rt711-l0.tplg",
361+
},
362+
{
363+
.link_mask = 0x4, /* link2 required */
364+
.links = rplp_crb,
365+
.drv_name = "sof_sdw",
366+
.sof_tplg_filename = "sof-rpl-rt711-l2.tplg",
352367
},
353368
{},
354369
};

0 commit comments

Comments
 (0)