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