summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingyou Chen <qby140326@gmail.com>2026-02-13 08:59:02 +0300
committerMark Brown <broonie@kernel.org>2026-02-23 02:51:50 +0300
commitdf4148a5a3cf18ee6e13e262079130b169ee51ac (patch)
treedb23551c5a189436bcc1bb2f95607de7c9f5b868
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f (diff)
downloadlinux-df4148a5a3cf18ee6e13e262079130b169ee51ac.tar.xz
ASoC: Add DMIC support for the AMD RPL platform
Add RPL rev 0x62 check and reserve ACP CONFIG PIN 10 to 14 for RPL platform Signed-off-by: Mingyou Chen <qby140326@gmail.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Link: https://patch.msgid.link/20260213055904.110256-2-qby140326@gmail.com Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/amd/yc/pci-acp6x.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/amd/yc/pci-acp6x.c b/sound/soc/amd/yc/pci-acp6x.c
index 1140ed1cbb3d..671443204e04 100644
--- a/sound/soc/amd/yc/pci-acp6x.c
+++ b/sound/soc/amd/yc/pci-acp6x.c
@@ -163,6 +163,7 @@ static int snd_acp6x_probe(struct pci_dev *pci,
switch (pci->revision) {
case 0x60:
case 0x6f:
+ case 0x62: /* RPL */
break;
default:
dev_dbg(&pci->dev, "acp6x pci device not found\n");
@@ -208,6 +209,17 @@ static int snd_acp6x_probe(struct pci_dev *pci,
case ACP_CONFIG_15:
dev_info(&pci->dev, "Audio Mode %d\n", val);
break;
+ case ACP_CONFIG_10:
+ case ACP_CONFIG_11:
+ case ACP_CONFIG_12:
+ case ACP_CONFIG_13:
+ case ACP_CONFIG_14:
+ /* PIN 10 to 14 is reserve for RPL */
+ if (pci->revision == 0x62) {
+ dev_info(&pci->dev, "RPL Audio Mode %d\n", val);
+ break;
+ }
+ fallthrough;
default:
adata->res = devm_kzalloc(&pci->dev,
sizeof(struct resource),