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 select SND_SOC_SOF_AMD_COMMON 37 help 38 Select this option for SOF support on AMD Renoir platform 39 40config SND_SOC_SOF_AMD_VANGOGH 41 tristate "SOF support for VANGOGH" 42 depends on SND_SOC_SOF_PCI 43 select SND_SOC_SOF_AMD_COMMON 44 help 45 Select this option for SOF support 46 on AMD Vangogh platform. 47 Say Y if you want to enable SOF on Vangogh. 48 If unsure select "N". 49 50config SND_SOC_SOF_AMD_REMBRANDT 51 tristate "SOF support for REMBRANDT" 52 depends on SND_SOC_SOF_PCI 53 select SND_SOC_SOF_AMD_COMMON 54 help 55 Select this option for SOF support on AMD Rembrandt platform 56 Say Y if you want to enable SOF on Rembrandt. 57 If unsure select "N". 58 59config SND_SOC_SOF_ACP_PROBES 60 tristate 61 select SND_SOC_SOF_DEBUG_PROBES 62 help 63 This option is not user-selectable but automatically handled by 64 'select' statements at a higher level 65 66config SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 67 tristate 68 select SND_AMD_SOUNDWIRE_ACPI if ACPI 69 70config SND_SOC_SOF_AMD_SOUNDWIRE 71 tristate "SOF support for SoundWire based AMD platforms" 72 default SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 73 depends on SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 74 depends on ACPI 75 depends on SOUNDWIRE_AMD 76 help 77 This adds support for SoundWire with Sound Open Firmware 78 for AMD platforms. 79 Say Y if you want to enable SoundWire links with SOF. 80 If unsure select "N". 81 82config SND_SOC_SOF_AMD_ACP63 83 tristate "SOF support for ACP6.3 platform" 84 depends on SND_SOC_SOF_PCI 85 select SND_SOC_SOF_AMD_COMMON 86 select SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 87 help 88 Select this option for SOF support on 89 AMD ACP6.3 version based platforms. 90 Say Y if you want to enable SOF on ACP6.3 based platform. 91 If unsure select "N". 92 93config SND_SOC_SOF_AMD_ACP70 94 tristate "SOF support for ACP7.0 platform" 95 depends on SND_SOC_SOF_PCI 96 select SND_SOC_SOF_AMD_COMMON 97 help 98 Select this option for SOF support on 99 AMD ACP7.0 version based platforms. 100 Say Y if you want to enable SOF on ACP7.0 based platform. 101 102endif 103