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 X86 || COMPILE_TEST 10 help 11 This adds support for Sound Open Firmware for AMD platforms. 12 Say Y if you have such a device. 13 If unsure select "N". 14 15if SND_SOC_SOF_AMD_TOPLEVEL 16 17config SND_SOC_SOF_AMD_COMMON 18 tristate 19 select SND_SOC_SOF 20 select SND_SOC_SOF_IPC3 21 select SND_SOC_SOF_PCI_DEV 22 select SND_AMD_ACP_CONFIG 23 select SND_SOC_SOF_XTENSA 24 select SND_SOC_SOF_ACP_PROBES 25 select SND_SOC_ACPI if ACPI 26 help 27 This option is not user-selectable but automatically handled by 28 'select' statements at a higher level 29 30config SND_SOC_SOF_AMD_RENOIR 31 tristate "SOF support for RENOIR" 32 depends on SND_SOC_SOF_PCI 33 select SND_SOC_SOF_AMD_COMMON 34 help 35 Select this option for SOF support on AMD Renoir platform 36 37config SND_SOC_SOF_AMD_VANGOGH 38 tristate "SOF support for VANGOGH" 39 depends on SND_SOC_SOF_PCI 40 select SND_SOC_SOF_AMD_COMMON 41 help 42 Select this option for SOF support 43 on AMD Vangogh platform. 44 Say Y if you want to enable SOF on Vangogh. 45 If unsure select "N". 46 47config SND_SOC_SOF_AMD_REMBRANDT 48 tristate "SOF support for REMBRANDT" 49 depends on SND_SOC_SOF_PCI 50 select SND_SOC_SOF_AMD_COMMON 51 help 52 Select this option for SOF support on AMD Rembrandt platform 53 Say Y if you want to enable SOF on Rembrandt. 54 If unsure select "N". 55 56config SND_SOC_SOF_ACP_PROBES 57 tristate 58 select SND_SOC_SOF_DEBUG_PROBES 59 help 60 This option is not user-selectable but automatically handled by 61 'select' statements at a higher level 62 63config SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 64 tristate 65 select SOUNDWIRE_AMD if SND_SOC_SOF_AMD_SOUNDWIRE != n 66 select SND_AMD_SOUNDWIRE_ACPI if ACPI 67 68config SND_SOC_SOF_AMD_SOUNDWIRE 69 tristate "SOF support for SoundWire based AMD platforms" 70 default SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 71 depends on SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE 72 depends on ACPI && SOUNDWIRE 73 depends on !(SOUNDWIRE=m && SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE=y) 74 help 75 This adds support for SoundWire with Sound Open Firmware 76 for AMD platforms. 77 Say Y if you want to enable SoundWire links with SOF. 78 If unsure select "N". 79 80config SND_SOC_SOF_AMD_ACP63 81 tristate "SOF support for ACP6.3 platform" 82 depends on SND_SOC_SOF_PCI 83 select SND_SOC_SOF_AMD_COMMON 84 help 85 Select this option for SOF support on 86 AMD ACP6.3 version based platforms. 87 Say Y if you want to enable SOF on ACP6.3 based platform. 88 If unsure select "N". 89endif 90