ASoC: Intel: soc-acpi: Add entry for rt711-sdca-sdw at link 0 in RPL match table

Adding RT711 sdca SDW codec support with SDW0 link for RPL RVP platforms

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Balamurugan C <balamurugan.c@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230731214257.444605-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Balamurugan C 2023-07-31 16:42:35 -05:00 committed by Mark Brown
parent 169e154b8f
commit e63e2810ed
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -308,6 +308,15 @@ static const struct snd_soc_acpi_link_adr rpl_sdw_rt1316_link12_rt714_link0[] =
{} {}
}; };
static const struct snd_soc_acpi_link_adr rpl_sdca_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 rplp_crb[] = { static const struct snd_soc_acpi_link_adr rplp_crb[] = {
{ {
.mask = BIT(2), .mask = BIT(2),
@ -413,6 +422,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_sdw_machines[] = {
.drv_name = "sof_sdw", .drv_name = "sof_sdw",
.sof_tplg_filename = "sof-rpl-rt711-l0.tplg", .sof_tplg_filename = "sof-rpl-rt711-l0.tplg",
}, },
{
.link_mask = 0x1, /* link0 required */
.links = rpl_sdca_rvp,
.drv_name = "sof_sdw",
.sof_tplg_filename = "sof-rpl-rt711-l0.tplg",
},
{ {
.link_mask = 0x4, /* link2 required */ .link_mask = 0x4, /* link2 required */
.links = rplp_crb, .links = rplp_crb,