From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: Matthew Schwartz <matthew.schwartz@linux.dev>, broonie@kernel.org
Cc: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] ASoC: amd: acp: add ACP70 SoundWire machine entry for ASUS RC74XA
Date: Mon, 19 Oct 2026 11:11:20 +0530 [thread overview]
Message-ID: <3a459fa9-9033-4ca7-873a-0fa433f94b8b@amd.com> (raw)
In-Reply-To: <20261016232416.2628603-3-matthew.schwartz@linux.dev>
On 17/10/26 04:54, Matthew Schwartz wrote:
> The ROG Xbox Ally X20 (RC74XA) has two TAS2783 amps on link 0 with
> unique IDs 0x8 and 0xB and an RT721 on link 1. No table entry describes
> that layout, so machine selection falls through to acp70_rt721_only and
> routes speaker playback to the unused RT721 amp endpoint.
>
> Add a two-link entry ahead of acp70_rt721_only with the RT721 limited
> to its jack and DMIC endpoints.
>
> Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> ---
> sound/soc/amd/acp/amd-acp70-acpi-match.c | 44 ++++++++++++++++++++++++
> 1 file changed, 44 insertions(+)
>
> diff --git a/sound/soc/amd/acp/amd-acp70-acpi-match.c b/sound/soc/amd/acp/amd-acp70-acpi-match.c
> index c2f0479301ebd..0c1a7a70ce146 100644
> --- a/sound/soc/amd/acp/amd-acp70-acpi-match.c
> +++ b/sound/soc/amd/acp/amd-acp70-acpi-match.c
> @@ -739,6 +739,45 @@ static const struct snd_soc_acpi_link_adr acp70_tas2783x2_l0u9c_rt712_vb_l1u0[]
> {}
> };
>
> +static const struct snd_soc_acpi_adr_device tas2783x2_l0u8b_adr[] = {
> + {
> + .adr = 0x0000380102000001ull,
> + .num_endpoints = 1,
> + .endpoints = &spk_l_endpoint,
> + .name_prefix = "tas2783-1",
> + },
> + {
> + .adr = 0x00003B0102000001ull,
> + .num_endpoints = 1,
> + .endpoints = &spk_r_endpoint,
> + .name_prefix = "tas2783-2",
> + },
> +};
> +
> +static const struct snd_soc_acpi_adr_device rt721_l1u0_jack_dmic_adr[] = {
> + {
> + .adr = 0x000130025D072101ull,
> + .num_endpoints = ARRAY_SIZE(jack_dmic_endpoints),
> + .endpoints = jack_dmic_endpoints,
> + .name_prefix = "rt721",
> + }
> +};
> +
> +/* ASUS ROG Xbox Ally X20 (RC74XA) */
> +static const struct snd_soc_acpi_link_adr acp70_tas2783x2_l0u8b_rt721_l1u0[] = {
> + {
> + .mask = BIT(0),
> + .num_adr = ARRAY_SIZE(tas2783x2_l0u8b_adr),
> + .adr_d = tas2783x2_l0u8b_adr,
> + },
> + {
> + .mask = BIT(1),
> + .num_adr = ARRAY_SIZE(rt721_l1u0_jack_dmic_adr),
> + .adr_d = rt721_l1u0_jack_dmic_adr,
> + },
> + {}
> +};
> +
> static const struct snd_soc_acpi_endpoint rt721_endpoints[] = {
> { /* Jack Playback/Capture Endpoint (AIF1) */
> .num = 0,
> @@ -906,6 +945,11 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[] = {
> .links = acp70_rt721_l1u0_tas2783x2_l1u8b,
> .drv_name = "amd_sdw",
> },
> + {
> + .link_mask = BIT(0) | BIT(1),
> + .links = acp70_tas2783x2_l0u8b_rt721_l1u0,
> + .drv_name = "amd_sdw",
> + },
> {
> .link_mask = BIT(1),
> .links = acp70_rt721_only,
next prev parent reply other threads:[~2026-10-19 5:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 23:24 [PATCH 0/5] ASoC: support the ASUS ROG Xbox Ally X20 audio Matthew Schwartz
2026-10-16 23:24 ` [PATCH 1/5] ASoC: amd: acp-config: force SoundWire probe on ASUS RC74XA Matthew Schwartz
2026-10-19 5:40 ` Mukunda,Vijendar
2026-10-16 23:24 ` [PATCH 2/5] ASoC: amd: acp: add ACP70 SoundWire machine entry for " Matthew Schwartz
2026-10-19 5:41 ` Mukunda,Vijendar [this message]
2026-10-16 23:24 ` [PATCH 3/5] ASoC: tas2783-sdw: use the BIOS speaker ID in the firmware name Matthew Schwartz
2026-10-16 23:24 ` [PATCH 4/5] ASoC: sdw_utils: honor empty DisCo port lists when creating DAI links Matthew Schwartz
2026-10-16 23:24 ` [PATCH 5/5] ASoC: rt721-sdca: wait for PDEs to reach PS0 after powering them up Matthew Schwartz
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=3a459fa9-9033-4ca7-873a-0fa433f94b8b@amd.com \
--to=vijendar.mukunda@amd.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=matthew.schwartz@linux.dev \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=venkataprasad.potturu@amd.com \
/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®