Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Jason Mo <NukaColaM@outlook.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	"linux-sound@vger.kernel.org" <linux-sound@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Mario Limonciello <mario.limonciello@amd.com>
Subject: Re: sound: soc: amd: rpl: No ALSA DMIC capture interface for ACP6x (PCIe rev 62)
Date: Thu, 1 May 2025 09:30:58 +0900	[thread overview]
Message-ID: <aBLAwjELCoWNWDyH@finisterre.sirena.org.uk> (raw)
In-Reply-To: <BY5PR07MB66126978095912E5D4A26E50A1802@BY5PR07MB6612.namprd07.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 1741 bytes --]

On Tue, Apr 29, 2025 at 01:14:07AM +0000, Jason Mo wrote:
> Hi Liam, Mark,
> 
> The `sound/soc/amd/rpl/rpl-pci-acp6x.c` driver for AMD ACP6x (PCIe rev 62) appears to lack ALSA DMIC capture support, making the digital microphone unusable on affected hardware.

Adding Mario.

> 
> Hardware Details:
> 05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 62)
>         Subsystem: AIstone Global Limited Device 1301
>         Kernel driver in use: snd_rpl_pci_acp6x
>         Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, ...
> 
> System Information:
> Linux version 6.14.4-arch1-1 (linux@archlinux) (gcc (GCC) 14.2.1 20250207, GNU ld (GNU Binutils) 2.44) #1 SMP PREEMPT_DYNAMIC Sat, 26 Apr 2025 00:06:37 +0000
> 
> Symptoms:
> *   No corresponding sound card entry in `/proc/asound/cards`.
> *   `arecord -l` shows no relevant capture device.
> *   No related ALSA mixer controls are exposed.
> 
> Code Analysis:
> The `rpl-pci-acp6x.c` driver handles basic PCIe initialization but seems to be missing the necessary ALSA/ASoC integration for capture. This contrasts with `sound/soc/amd/yc/pci-acp6x.c` (for rev 60/6f), which includes full ALSA DMIC support.
> 
> Attached Logs:
> *   dmesg (full & filtered for audio)
> *   lspci -vvnn (for audio device)
> *   aplay -l / arecord -l
> *   /proc/asound/cards
> *   lsmod | grep snd
> 
> Question:
> Is the missing DMIC support in the `rpl` driver for rev 62 intentional, or is this a bug/missing feature?
> 
> Happy to test patches or provide more info if DMIC support is planned or contributions are welcome.
> 
> Thanks,
> Jason Mo



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2025-05-01  0:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29  1:14 sound: soc: amd: rpl: No ALSA DMIC capture interface for ACP6x (PCIe rev 62) Jason Mo
2025-05-01  0:30 ` Mark Brown [this message]
2025-05-01 17:16   ` Mario Limonciello
2025-05-01 23:37     ` Jason Mo

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=aBLAwjELCoWNWDyH@finisterre.sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=NukaColaM@outlook.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mario.limonciello@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