xref: /linux/sound/soc/sof/amd/Kconfig (revision 42d37fc0c819b81f6f6afd108b55d04ba9d32d0f)
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 if ACPI
27	help
28	  This option is not user-selectable but automatically handled by
29	  'select' statements at a higher level
30
31config SND_SOC_SOF_AMD_RENOIR
32	tristate "SOF support for RENOIR"
33	depends on SND_SOC_SOF_PCI
34	select SND_SOC_SOF_AMD_COMMON
35	help
36	  Select this option for SOF support on AMD Renoir platform
37
38config SND_SOC_SOF_AMD_VANGOGH
39	tristate "SOF support for VANGOGH"
40	depends on SND_SOC_SOF_PCI
41	select SND_SOC_SOF_AMD_COMMON
42	help
43	  Select this option for SOF support
44	  on AMD Vangogh platform.
45	  Say Y if you want to enable SOF on Vangogh.
46	  If unsure select "N".
47
48config SND_SOC_SOF_AMD_REMBRANDT
49	tristate "SOF support for REMBRANDT"
50	depends on SND_SOC_SOF_PCI
51	select SND_SOC_SOF_AMD_COMMON
52	help
53	  Select this option for SOF support on AMD Rembrandt platform
54	  Say Y if you want to enable SOF on Rembrandt.
55	  If unsure select "N".
56
57config SND_SOC_SOF_ACP_PROBES
58	tristate
59	select SND_SOC_SOF_DEBUG_PROBES
60	help
61	  This option is not user-selectable but automatically handled by
62	  'select' statements at a higher level
63
64config SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
65	tristate
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
73	depends on SOUNDWIRE_AMD
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	select SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
85	help
86	  Select this option for SOF support on
87	  AMD ACP6.3 version based platforms.
88	  Say Y if you want to enable SOF on ACP6.3 based platform.
89	  If unsure select "N".
90endif
91