From: Baojun Xu <baojun.xu@ti.com>
To: <broonie@kernel.org>
Cc: <tiwai@suse.de>, <andriy.shevchenko@linux.intel.com>,
<13916275206@139.com>, <alsa-devel@alsa-project.org>,
<shenghao-ding@ti.com>, <baojun.xu@ti.com>,
<linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<k-yi@ti.com>, <henry.lo@ti.com>, <robinchen@ti.com>,
<niranjan.hy@ti.com>, <pin-hao.huang@hp.com>,
<Syed.SabaKareem@amd.com>
Subject: [PATCH v1] ASoC: amd: acp: Add support for more projects on ACP7.0
Date: Tue, 3 Nov 2026 11:44:15 +0800 [thread overview]
Message-ID: <20261103034415.1495-1-baojun.xu@ti.com> (raw)
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
next reply other threads:[~2026-11-03 3:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 3:44 Baojun Xu [this message]
2026-11-03 10:34 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261103034415.1495-1-baojun.xu@ti.com \
--to=baojun.xu@ti.com \
--cc=13916275206@139.com \
--cc=Syed.SabaKareem@amd.com \
--cc=alsa-devel@alsa-project.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=broonie@kernel.org \
--cc=henry.lo@ti.com \
--cc=k-yi@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=niranjan.hy@ti.com \
--cc=pin-hao.huang@hp.com \
--cc=robinchen@ti.com \
--cc=shenghao-ding@ti.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®