Re: [PATCH] ASoC: amd: add DMIC support for RPL platform

From: qby140326

Date: Wed Feb 11 2026 - 06:16:17 EST


On 2/11/26 18:46, qby140326 wrote:
On 2/11/26 17:22, Mukunda,Vijendar wrote:
There is minor delta between RPL and YC platforms for ACP PDM IO enablement.
No need to duplicate the code.  You can include support for RPL platform in
yc folder itself. Most of the YC code can be reused.
We can completely remove the RPL folder itself.
Add extra checks for ACP PCI revision ID.

Hi Mukunda,

Thanks for the feedback. Could you please elaborate on what the 'minor delta' specifically entails for the RPL platform compared to YC?

Additionally, I'd like to provide some context regarding the current behavior.

While the driver works correctly on my hardware, other users have reported encountering I/O errors (for reference, see this report: https://forum.archlinuxcn.org/t/topic/14050/8 <https://forum.archlinuxcn.org/t/topic/14050/8>).

These are the information the user provided:

Hardware info:

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, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63, snd_sof_amd_acp70

dmesg:

[ 706.019901] snd_rpl_pci_acp6x: loading out-of-tree module taints kernel.
[ 723.527213] acp_rpl_mach acp_rpl_mach.0: Enabling ACP DMIC support via DMI

arecord log:


# arecord -D hw:3,0 -f S32_LE -r 48000 -c 2 -d 10 /tmp/test.wav
Recording WAVE '/tmp/test.wav' : Signed 32 bit Little Endian, Rate 48000 Hz, Stereo
arecord: pcm_read:2272: read error: Input/output error


And this is my device (Working)'s hardware info:

07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Audio Coprocessor (rev 62)
        Subsystem: Lenovo Device 383d
        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, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63, snd_sof_amd_acp70