* [PATCH v1] ASoC: amd: acp: Add support for more projects on ACP7.0
@ 2026-11-03 3:44 Baojun Xu
2026-11-03 10:34 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Baojun Xu @ 2026-11-03 3:44 UTC (permalink / raw)
To: broonie
Cc: tiwai, andriy.shevchenko, 13916275206, alsa-devel, shenghao-ding,
baojun.xu, linux-sound, linux-kernel, k-yi, henry.lo, robinchen,
niranjan.hy, pin-hao.huang, Syed.SabaKareem
Add driver data and ACPI match table entries to support additional projects
using the TAS2783 codec on the ACP7.0 platform.
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
---
sound/soc/amd/acp-config.c | 105 +++++++++++++
sound/soc/amd/acp/amd-acp70-acpi-match.c | 192 ++++++++++++++++++++++-
2 files changed, 296 insertions(+), 1 deletion(-)
diff --git a/sound/soc/amd/acp-config.c b/sound/soc/amd/acp-config.c
index 2fb9789cac0a..473d68ebde14 100644
--- a/sound/soc/amd/acp-config.c
+++ b/sound/soc/amd/acp-config.c
@@ -98,6 +98,111 @@ static const struct dmi_system_id acp70_acpi_flag_override_table[] = {
DMI_MATCH(DMI_BOARD_NAME, "8EA2"),
},
},
+ {
+ /* HP Cashmere-A */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "8EF5"),
+ },
+ },
+ {
+ /* HP Sundae */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "8F6D"),
+ },
+ },
+ {
+ /* HP SundaeWhip UMA */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "8FA4"),
+ },
+ },
+ {
+ /* HP SundaeWhip DSC */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "8FA5"),
+ },
+ },
+ {
+ /* HP Kamo (Koki) */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "9012"),
+ },
+ },
+ {
+ /* HP Dominion 16 A */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "9028"),
+ },
+ },
+ {
+ /* HP Dominion A LW */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "9029"),
+ },
+ },
+ {
+ /* HP Kata-A */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "9056"),
+ },
+ },
+ {
+ /* ASUS HN7306 */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUS"),
+ DMI_MATCH(DMI_BOARD_NAME, "1714"),
+ },
+ },
+ {
+ /* ASUS RC74XA */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUS"),
+ DMI_MATCH(DMI_BOARD_NAME, "1954"),
+ },
+ },
+ {
+ /* ASUS RC74RA */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUS"),
+ DMI_MATCH(DMI_BOARD_NAME, "1964"),
+ },
+ },
+ {
+ /* ASUS UX3408GA */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUS"),
+ DMI_MATCH(DMI_BOARD_NAME, "1AC4"),
+ },
+ },
+ {
+ /* ASUS B7406CKA */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUS"),
+ DMI_MATCH(DMI_BOARD_NAME, "1B94"),
+ },
+ },
+ {
+ /* ASUS CHG01LA */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUS"),
+ DMI_MATCH(DMI_BOARD_NAME, "1C64"),
+ },
+ },
+ {
+ /* ASUS UX3480ZA */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUS"),
+ DMI_MATCH(DMI_BOARD_NAME, "1E54"),
+ },
+ },
{
/* Dell 14S DS14265 */
.matches = {
diff --git a/sound/soc/amd/acp/amd-acp70-acpi-match.c b/sound/soc/amd/acp/amd-acp70-acpi-match.c
index c2f0479301eb..a6df59c212bc 100644
--- a/sound/soc/amd/acp/amd-acp70-acpi-match.c
+++ b/sound/soc/amd/acp/amd-acp70-acpi-match.c
@@ -582,7 +582,7 @@ static const struct snd_soc_acpi_link_adr acp70_rt722_l0_rt1320_l1[] = {
},
{}
};
-
+/* HP: Sundae, Cashmere-A. */
static const struct snd_soc_acpi_adr_device tas2783_2_adr[] = {
{
/* left */
@@ -614,6 +614,116 @@ static const struct snd_soc_acpi_adr_device tas2783_2_adr[] = {
},
};
+/* HP: Dominion 16 A */
+static const struct snd_soc_acpi_adr_device tas2783_3_1_adr[] = {
+ {
+ /* left */
+ .adr = 0x00023C0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_l_endpoint,
+ .name_prefix = "tas2783-1",
+ },
+ {
+ /* right */
+ .adr = 0x00023D0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_l_endpoint,
+ .name_prefix = "tas2783-2",
+ },
+};
+
+static const struct snd_soc_acpi_adr_device tas2783_3_2_adr[] = {
+ {
+ /* left */
+ .adr = 0x0003390102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_r_endpoint,
+ .name_prefix = "tas2783-3",
+ },
+ {
+ /* right */
+ .adr = 0x00033A0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_r_endpoint,
+ .name_prefix = "tas2783-4",
+ },
+};
+
+/* HP: Dominion A LW. */
+static const struct snd_soc_acpi_adr_device tas2783_4_1_adr[] = {
+ {
+ /* left */
+ .adr = 0x00023C0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_l_endpoint,
+ .name_prefix = "tas2783-1",
+ },
+};
+
+static const struct snd_soc_acpi_adr_device tas2783_4_2_adr[] = {
+ {
+ /* right */
+ .adr = 0x0003390102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_r_endpoint,
+ .name_prefix = "tas2783-2",
+ },
+};
+
+/* HP: Kamo (Koki). */
+static const struct snd_soc_acpi_adr_device tas2783_5_adr[] = {
+ {
+ /* left */
+ .adr = 0x00023C0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_l_endpoint,
+ .name_prefix = "tas2783-1",
+ },
+ {
+ /* right */
+ .adr = 0x0002390102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_r_endpoint,
+ .name_prefix = "tas2783-2",
+ },
+};
+
+/* ASUS: CHG01LA, UX3408GA, UX3480ZA. */
+static const struct snd_soc_acpi_adr_device tas2783_6_adr[] = {
+ {
+ /* left */
+ .adr = 0x0000380102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_l_endpoint,
+ .name_prefix = "tas2783-1",
+ },
+ {
+ /* right */
+ .adr = 0x00003B0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_r_endpoint,
+ .name_prefix = "tas2783-2",
+ },
+};
+
+/* ASUS: B7406CKA. */
+static const struct snd_soc_acpi_adr_device tas2783_7_adr[] = {
+ {
+ /* left */
+ .adr = 0x00003B0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_l_endpoint,
+ .name_prefix = "tas2783-1",
+ },
+ {
+ /* right */
+ .adr = 0x00003C0102000001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_r_endpoint,
+ .name_prefix = "tas2783-2",
+ },
+};
+
static const struct snd_soc_acpi_link_adr acp70_tas2783_2[] = {
{
.mask = BIT(0),
@@ -623,6 +733,61 @@ static const struct snd_soc_acpi_link_adr acp70_tas2783_2[] = {
{}
};
+static const struct snd_soc_acpi_link_adr acp70_tas2783_3[] = {
+ {
+ .mask = BIT(2),
+ .num_adr = ARRAY_SIZE(tas2783_3_1_adr),
+ .adr_d = tas2783_3_1_adr,
+ },
+ {
+ .mask = BIT(3),
+ .num_adr = ARRAY_SIZE(tas2783_3_2_adr),
+ .adr_d = tas2783_3_2_adr,
+ },
+ {}
+};
+
+static const struct snd_soc_acpi_link_adr acp70_tas2783_4[] = {
+ {
+ .mask = BIT(2),
+ .num_adr = ARRAY_SIZE(tas2783_4_1_adr),
+ .adr_d = tas2783_4_1_adr,
+ },
+ {
+ .mask = BIT(3),
+ .num_adr = ARRAY_SIZE(tas2783_4_2_adr),
+ .adr_d = tas2783_4_2_adr,
+ },
+ {}
+};
+
+static const struct snd_soc_acpi_link_adr acp70_tas2783_5[] = {
+ {
+ .mask = BIT(2),
+ .num_adr = ARRAY_SIZE(tas2783_5_adr),
+ .adr_d = tas2783_5_adr,
+ },
+ {}
+};
+
+static const struct snd_soc_acpi_link_adr acp70_tas2783_6[] = {
+ {
+ .mask = BIT(0),
+ .num_adr = ARRAY_SIZE(tas2783_6_adr),
+ .adr_d = tas2783_6_adr,
+ },
+ {}
+};
+
+static const struct snd_soc_acpi_link_adr acp70_tas2783_7[] = {
+ {
+ .mask = BIT(0),
+ .num_adr = ARRAY_SIZE(tas2783_7_adr),
+ .adr_d = tas2783_7_adr,
+ },
+ {}
+};
+
static const struct snd_soc_acpi_adr_device rt1320_0_single_adr[] = {
{
.adr = 0x000030025D132001ull,
@@ -804,6 +969,31 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[] = {
.links = acp70_tas2783_2,
.drv_name = "amd_sdw",
},
+ {
+ .link_mask = BIT(2) | BIT(3),
+ .links = acp70_tas2783_3,
+ .drv_name = "amd_sdw",
+ },
+ {
+ .link_mask = BIT(2) | BIT(3),
+ .links = acp70_tas2783_4,
+ .drv_name = "amd_sdw",
+ },
+ {
+ .link_mask = BIT(2),
+ .links = acp70_tas2783_5,
+ .drv_name = "amd_sdw",
+ },
+ {
+ .link_mask = BIT(0),
+ .links = acp70_tas2783_6,
+ .drv_name = "amd_sdw",
+ },
+ {
+ .link_mask = BIT(0),
+ .links = acp70_tas2783_7,
+ .drv_name = "amd_sdw",
+ },
{
.link_mask = BIT(0) | BIT(1),
.links = acp70_tas2783x2_l0u9c_rt712_vb_l1u0,
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH v1] ASoC: amd: acp: Add support for more projects on ACP7.0
2026-11-03 3:44 [PATCH v1] ASoC: amd: acp: Add support for more projects on ACP7.0 Baojun Xu
@ 2026-11-03 10:34 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2026-11-03 10:34 UTC (permalink / raw)
To: Baojun Xu
Cc: broonie, tiwai, 13916275206, alsa-devel, shenghao-ding,
linux-sound, linux-kernel, k-yi, henry.lo, robinchen,
niranjan.hy, pin-hao.huang, Syed.SabaKareem
On Tue, Nov 03, 2026 at 11:44:15AM +0800, Baojun Xu wrote:
> Add driver data and ACPI match table entries to support additional projects
> using the TAS2783 codec on the ACP7.0 platform.
...
> +++ b/sound/soc/amd/acp/amd-acp70-acpi-match.c
> },
> {}
> };
> -
Stray blank line removal.
> +/* HP: Sundae, Cashmere-A. */
> static const struct snd_soc_acpi_adr_device tas2783_2_adr[] = {
> {
> },
> };
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-03 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 3:44 [PATCH v1] ASoC: amd: acp: Add support for more projects on ACP7.0 Baojun Xu
2026-11-03 10:34 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®