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