1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2# This file is provided under a dual BSD/GPLv2 license. When using or 3# redistributing this file, you may do so under either license. 4# 5# Copyright(c) 2021, 2023 Advanced Micro Devices, Inc. All rights reserved. 6 7config SND_SOC_SOF_AMD_TOPLEVEL 8 tristate "SOF support for AMD audio DSPs" 9 depends on SOUNDWIRE_AMD || !SOUNDWIRE_AMD 10 depends on X86 || COMPILE_TEST 11 help 12 This adds support for Sound Open Firmware for AMD platforms. 13 Say Y if you have such a device. 14 If unsure select "N". 15 16if SND_SOC_SOF_AMD_TOPLEVEL 17 18config SND_SOC_SOF_AMD_COMMON 19 tristate 20 select SND_SOC_SOF 21 select SND_SOC_SOF_IPC3 22 select SND_SOC_SOF_PCI_DEV 23 select SND_AMD_ACP_CONFIG 24 select SND_SOC_SOF_XTENSA 25 select SND_SOC_SOF_ACP_PROBES 26 select SND_SOC_ACPI_AMD_MATCH 27 select SND_SOC_ACPI if ACPI 28 depends on AMD_NODE 29 help 30 This option is not user-selectable but automatically handled by 31 'select' statements at a higher level 32 33config SND_SOC_SOF_AMD_RENOIR 34 tristate "SOF support for RENOIR" 35 depends on SND_SOC_SOF_PCI 36 depends on CPU_SUP_AMD 37 select SND_SOC_SOF_AMD_COMMON 38 help 39 Select this option for SOF support on AMD Renoir platform 40 41config SND_SOC_SOF_AMD_VANGOGH 42 tristate "SOF support for VANGOGH" 43 depends on SND_SOC_SOF_PCI 44 depends on CPU_SUP_AMD 45 select SND_SOC_SOF_AMD_COMMON 46 help 47 Select this option for SOF support 48 on AMD Vangogh platform. 49 Say Y if you want to enable SOF on Vangogh. 50 If unsure select "N". 51 52config SND_SOC_SOF_AMD_REMBRANDT 53 tristate "SOF support for REMBRANDT" 54 depends on SND_SOC_SOF_PCI 55 depends on CPU_SUP_AMD 56 select SND_SOC_SOF_AMD_COMMON 57 help 58 Select this option for SOF support on AMD Rembrandt platform 59 Say Y if you want to enable SOF on Rembrandt. 60 If unsure select "N". 61 62config SND_SOC_SOF_ACP_PROBES 63 tristate 64 select SND_SOC_SOF_DEBUG_PROBES 65 help 66 This option is not user-selectable but automatically handled by 67 'select' statements at a higher level 68 69config SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 70 tristate 71 select SND_AMD_SOUNDWIRE_ACPI if ACPI 72 73config SND_SOC_SOF_AMD_SOUNDWIRE 74 tristate "SOF support for SoundWire based AMD platforms" 75 default SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 76 depends on SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 77 depends on ACPI 78 depends on SOUNDWIRE_AMD 79 help 80 This adds support for SoundWire with Sound Open Firmware 81 for AMD platforms. 82 Say Y if you want to enable SoundWire links with SOF. 83 If unsure select "N". 84 85config SND_SOC_SOF_AMD_ACP63 86 tristate "SOF support for ACP6.3 platform" 87 depends on SND_SOC_SOF_PCI 88 depends on CPU_SUP_AMD 89 select SND_SOC_SOF_AMD_COMMON 90 select SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 91 help 92 Select this option for SOF support on 93 AMD ACP6.3 version based platforms. 94 Say Y if you want to enable SOF on ACP6.3 based platform. 95 If unsure select "N". 96 97config SND_SOC_SOF_AMD_ACP70 98 tristate "SOF support for ACP7.0 platform" 99 depends on SND_SOC_SOF_PCI 100 depends on CPU_SUP_AMD 101 select SND_SOC_SOF_AMD_COMMON 102 help 103 Select this option for SOF support on 104 AMD ACP7.0 version based platforms. 105 Say Y if you want to enable SOF on ACP7.0 based platform. 106 107endif 108