Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Vijendar Mukunda and committed by
Mark Brown
7869f1c1 0d68ad08

+37
+37
sound/soc/amd/acp/amd-acp70-acpi-match.c
··· 531 531 {} 532 532 }; 533 533 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 + 534 566 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 + }, 535 572 { 536 573 .link_mask = BIT(0) | BIT(1), 537 574 .links = acp70_rt722_l0_rt1320_l1,