xref: /openbmc/linux/sound/soc/sof/amd/Kconfig (revision bbaf1ff0)
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 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_ACPI if ACPI
25	help
26	  This option is not user-selectable but automatically handled by
27	  'select' statements at a higher level
28
29config SND_SOC_SOF_AMD_RENOIR
30	tristate "SOF support for RENOIR"
31	depends on SND_SOC_SOF_PCI
32	select SND_SOC_SOF_AMD_COMMON
33	help
34	  Select this option for SOF support on AMD Renoir platform
35
36config SND_SOC_SOF_AMD_REMBRANDT
37	tristate "SOF support for REMBRANDT"
38	depends on SND_SOC_SOF_PCI
39	select SND_SOC_SOF_AMD_COMMON
40	help
41	  Select this option for SOF support on AMD Rembrandt platform
42	  Say Y if you want to enable SOF on Rembrandt.
43	  If unsure select "N".
44
45endif
46