Skip to content

Commit e149d87

Browse files
macchianbroonie
authored andcommitted
ASoC: Intel: soc-acpi-intel-ptl-match: add support ptl-rt721-l0
This patch adds support for rt721 on Soundwire Link 0. Signed-off-by: Mac Chiang <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent fb00ab1 commit e149d87

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,15 @@ static const struct snd_soc_acpi_adr_device rt1320_3_group1_adr[] = {
355355
}
356356
};
357357

358+
static const struct snd_soc_acpi_adr_device rt721_0_single_adr[] = {
359+
{
360+
.adr = 0x000030025d072101ull,
361+
.num_endpoints = ARRAY_SIZE(rt_mf_endpoints),
362+
.endpoints = rt_mf_endpoints,
363+
.name_prefix = "rt721"
364+
}
365+
};
366+
358367
static const struct snd_soc_acpi_adr_device rt721_3_single_adr[] = {
359368
{
360369
.adr = 0x000330025d072101ull,
@@ -473,6 +482,15 @@ static const struct snd_soc_acpi_link_adr ptl_cs42l43_l3[] = {
473482
{}
474483
};
475484

485+
static const struct snd_soc_acpi_link_adr ptl_rt721_l0[] = {
486+
{
487+
.mask = BIT(0),
488+
.num_adr = ARRAY_SIZE(rt721_0_single_adr),
489+
.adr_d = rt721_0_single_adr,
490+
},
491+
{}
492+
};
493+
476494
static const struct snd_soc_acpi_link_adr ptl_rt722_only[] = {
477495
{
478496
.mask = BIT(0),
@@ -660,6 +678,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
660678
.drv_name = "sof_sdw",
661679
.sof_tplg_filename = "sof-ptl-rt711.tplg",
662680
},
681+
{
682+
.link_mask = BIT(0),
683+
.links = ptl_rt721_l0,
684+
.drv_name = "sof_sdw",
685+
.sof_tplg_filename = "sof-ptl-rt721.tplg",
686+
.get_function_tplg_files = sof_sdw_get_tplg_files,
687+
},
663688
{
664689
.link_mask = BIT(0),
665690
.links = ptl_rt722_only,

0 commit comments

Comments
 (0)