0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
0002 # This file is provided under a dual BSD/GPLv2 license. When using or
0003 # redistributing this file, you may do so under either license.
0004 #
0005 # Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
0006
0007 config SND_SOC_SOF_AMD_TOPLEVEL
0008 tristate "SOF support for AMD audio DSPs"
0009 depends on X86 || COMPILE_TEST
0010 help
0011 This adds support for Sound Open Firmware for AMD platforms.
0012 Say Y if you have such a device.
0013 If unsure select "N".
0014
0015 if SND_SOC_SOF_AMD_TOPLEVEL
0016
0017 config SND_SOC_SOF_AMD_COMMON
0018 tristate
0019 select SND_SOC_SOF
0020 select SND_SOC_SOF_IPC3
0021 select SND_SOC_SOF_PCI_DEV
0022 select SND_AMD_ACP_CONFIG
0023 select SND_SOC_ACPI if ACPI
0024 help
0025 This option is not user-selectable but automatically handled by
0026 'select' statements at a higher level
0027
0028 config SND_SOC_SOF_AMD_RENOIR
0029 tristate "SOF support for RENOIR"
0030 depends on SND_SOC_SOF_PCI
0031 select SND_SOC_SOF_AMD_COMMON
0032 help
0033 Select this option for SOF support on AMD Renoir platform
0034 endif