Commit

9ca0d0d0249230135dbf6fa1b9168e260151babc

ASoC: amd: acp: Add more ACP7.0 match entries for Cirrus Logic parts

This adds the following SoundWire configuration:

    cs42l43b link 0 UID 1
    cs35l57 link 0 UID 0
    cs35l57 link 0 UID 1

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://patch.msgid.link/20261007130857.102432-1-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>

Simon Trimmer <simont@opensource.cirrus.com> · 2026-10-07 13:08 UTC · committed by Mark Brown

Browse files
1 file changed, +35 −0
modified sound/soc/amd/acp/amd-acp70-acpi-match.c
@@ -335,6 +335,27 @@ static const struct snd_soc_acpi_adr_device cs42l43b_l0u1_adr[] = {
335 335 }
336 336 };
337 337
338 + static const struct snd_soc_acpi_adr_device cs42l43b_l0u1_cs35l57x2_l0u01_adr[] = {
339 + {
340 + .adr = 0x00003101FA2A3B01ull,
341 + .num_endpoints = ARRAY_SIZE(cs42l43_endpoints),
342 + .endpoints = cs42l43_endpoints,
343 + .name_prefix = "cs42l43"
344 + },
345 + {
346 + .adr = 0x00003001FA355701ull,
347 + .num_endpoints = 1,
348 + .endpoints = &spk_l_endpoint,
349 + .name_prefix = "AMP1"
350 + },
351 + {
352 + .adr = 0x00003101FA355701ull,
353 + .num_endpoints = 1,
354 + .endpoints = &spk_r_endpoint,
355 + .name_prefix = "AMP2"
356 + },
357 + };
358 +
338 359 static const struct snd_soc_acpi_adr_device cs42l43_l1u0_cs35l56x4_l1u0123_adr[] = {
339 360 {
340 361 .adr = 0x00013001FA424301ull,
@@ -438,6 +459,15 @@ static const struct snd_soc_acpi_link_adr acp70_cs42l43_l0u0_cs35l56x4_l1u3210[]
438 459 {}
439 460 };
440 461
462 + static const struct snd_soc_acpi_link_adr acp70_cs42l43b_l0u1_cs35l57x2_l0u01[] = {
463 + {
464 + .mask = BIT(0),
465 + .num_adr = ARRAY_SIZE(cs42l43b_l0u1_cs35l57x2_l0u01_adr),
466 + .adr_d = cs42l43b_l0u1_cs35l57x2_l0u01_adr,
467 + },
468 + {}
469 + };
470 +
441 471 static const struct snd_soc_acpi_link_adr acp70_cs42l43_l1u0_cs35l56x4_l1u0123[] = {
442 472 {
443 473 .mask = BIT(1),
@@ -820,6 +850,11 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[] = {
820 850 .links = acp70_cs42l45_l1u0_cs35l63x2_l0u01,
821 851 .drv_name = "amd_sdw",
822 852 },
853 + {
854 + .link_mask = BIT(0),
855 + .links = acp70_cs42l43b_l0u1_cs35l57x2_l0u01,
856 + .drv_name = "amd_sdw",
857 + },
823 858 {
824 859 .link_mask = BIT(1),
825 860 .links = acp70_cs42l43_l1u0_cs35l56x4_l1u0123,