···122122123123source "sound/soc/amd/acp/Kconfig"124124125125-config SND_SOC_AMD_RPL_ACP6x126126- tristate "AMD Audio Coprocessor-v6.2 RPL support"127127- depends on X86 && PCI128128- help129129- This option enables Audio Coprocessor i.e. ACP v6.2 support on130130- AMD RPL platform. By enabling this flag build will be131131- triggered for ACP PCI driver.132132- Say m if you have such a device.133133- If unsure select "N".134134-135125config SND_SOC_AMD_ACP63_TOPLEVEL136126 tristate "support for AMD platforms with ACP version >= 6.3"137127 default SND_AMD_ACP_CONFIG
···163163 switch (pci->revision) {164164 case 0x60:165165 case 0x6f:166166+ case 0x62: /* RPL */166167 break;167168 default:168169 dev_dbg(&pci->dev, "acp6x pci device not found\n");···209208 case ACP_CONFIG_15:210209 dev_info(&pci->dev, "Audio Mode %d\n", val);211210 break;211211+ case ACP_CONFIG_10:212212+ case ACP_CONFIG_11:213213+ case ACP_CONFIG_12:214214+ case ACP_CONFIG_13:215215+ case ACP_CONFIG_14:216216+ /* PIN 10 to 14 is reserve for RPL */217217+ if (pci->revision == 0x62) {218218+ dev_info(&pci->dev, "RPL Audio Mode %d\n", val);219219+ break;220220+ }221221+ fallthrough;212222 default:213223 adata->res = devm_kzalloc(&pci->dev,214224 sizeof(struct resource),