Skip to content

Commit 7869f1c

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: acp: Add ACP7.0 match entries for Realtek parts
This patch adds below machine configuration for the ACP7.0 & ACP7.1 platforms. Link 0: RT1320 amplifier Link 1: RT722 codec with three endpoints: Headset, Speaker, and DMIC. Note: The Speaker endpoint on the RT722 codec is not used. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20260218104734.3641481-2-Vijendar.Mukunda@amd.com Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0d68ad0 commit 7869f1c

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

sound/soc/amd/acp/amd-acp70-acpi-match.c

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,44 @@ static const struct snd_soc_acpi_link_adr acp70_rt722_l0_rt1320_l1[] = {
531531
{}
532532
};
533533

534+
static const struct snd_soc_acpi_adr_device rt1320_0_single_adr[] = {
535+
{
536+
.adr = 0x000030025D132001ull,
537+
.num_endpoints = 1,
538+
.endpoints = &single_endpoint,
539+
.name_prefix = "rt1320-1"
540+
}
541+
};
542+
543+
static const struct snd_soc_acpi_adr_device rt722_1_single_adr[] = {
544+
{
545+
.adr = 0x000130025d072201ull,
546+
.num_endpoints = ARRAY_SIZE(rt722_endpoints),
547+
.endpoints = rt722_endpoints,
548+
.name_prefix = "rt722"
549+
}
550+
};
551+
552+
static const struct snd_soc_acpi_link_adr acp70_rt1320_l0_rt722_l1[] = {
553+
{
554+
.mask = BIT(0),
555+
.num_adr = ARRAY_SIZE(rt1320_0_single_adr),
556+
.adr_d = rt1320_0_single_adr,
557+
},
558+
{
559+
.mask = BIT(1),
560+
.num_adr = ARRAY_SIZE(rt722_1_single_adr),
561+
.adr_d = rt722_1_single_adr,
562+
},
563+
{}
564+
};
565+
534566
struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[] = {
567+
{
568+
.link_mask = BIT(0) | BIT(1),
569+
.links = acp70_rt1320_l0_rt722_l1,
570+
.drv_name = "amd_sdw",
571+
},
535572
{
536573
.link_mask = BIT(0) | BIT(1),
537574
.links = acp70_rt722_l0_rt1320_l1,

0 commit comments

Comments
 (0)