xref: /linux/sound/soc/amd/acp/Kconfig (revision 3fd6c59042dbba50391e30862beac979491145fe)
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#
7
8config SND_SOC_AMD_ACP_COMMON
9	tristate "AMD Audio ACP Common support"
10	select SND_AMD_ACP_CONFIG
11	depends on X86 && PCI
12	help
13	  This option enables common modules for Audio-Coprocessor i.e. ACP
14	  IP block on AMD platforms.
15
16config SND_SOC_ACPI_AMD_MATCH
17	tristate
18	select SND_SOC_ACPI if ACPI
19
20if SND_SOC_AMD_ACP_COMMON
21
22config SND_SOC_AMD_ACP_PDM
23	tristate
24
25config SND_SOC_AMD_ACP_LEGACY_COMMON
26	tristate
27
28config SND_SOC_AMD_ACP_I2S
29	tristate
30
31config SND_SOC_AMD_ACP_PCM
32	tristate
33	select SND_SOC_ACPI if ACPI
34
35config SND_SOC_AMD_ACP_PCI
36	tristate "AMD ACP PCI Driver Support"
37	depends on X86 && PCI
38	depends on ACPI
39	select SND_SOC_AMD_ACP_LEGACY_COMMON
40	help
41	  This options enables generic PCI driver for ACP device.
42
43config SND_AMD_ASOC_RENOIR
44	tristate "AMD ACP ASOC Renoir Support"
45	depends on ACPI
46	select SND_SOC_AMD_ACP_PCM
47	select SND_SOC_AMD_ACP_I2S
48	select SND_SOC_AMD_ACP_PDM
49	select SND_SOC_AMD_ACP_LEGACY_COMMON
50	depends on X86 && PCI
51	help
52	  This option enables Renoir I2S support on AMD platform.
53
54config SND_AMD_ASOC_REMBRANDT
55	tristate "AMD ACP ASOC Rembrandt Support"
56	depends on ACPI
57	select SND_SOC_AMD_ACP_PCM
58	select SND_SOC_AMD_ACP_I2S
59	select SND_SOC_AMD_ACP_PDM
60	select SND_SOC_AMD_ACP_LEGACY_COMMON
61	depends on X86 && PCI
62	help
63	  This option enables Rembrandt I2S support on AMD platform.
64	  Say Y if you want to enable AUDIO on Rembrandt
65	  If unsure select "N".
66
67config SND_AMD_ASOC_ACP63
68	tristate "AMD ACP ASOC ACP6.3 Support"
69	depends on X86 && PCI
70	depends on ACPI
71	select SND_SOC_AMD_ACP_PCM
72	select SND_SOC_AMD_ACP_I2S
73	select SND_SOC_AMD_ACP_PDM
74	select SND_SOC_AMD_ACP_LEGACY_COMMON
75	help
76	  This option enables Acp6.3 I2S support on AMD platform.
77	  Say Y if you want to enable AUDIO on ACP6.3
78	  If unsure select "N".
79
80config SND_AMD_ASOC_ACP70
81	tristate "AMD ACP ASOC Acp7.0 Support"
82	depends on X86 && PCI
83	depends on ACPI
84	select SND_SOC_AMD_ACP_PCM
85	select SND_SOC_AMD_ACP_I2S
86	select SND_SOC_AMD_ACP_PDM
87	select SND_SOC_AMD_ACP_LEGACY_COMMON
88	help
89	This option enables Acp7.0 PDM support on AMD platform.
90	Say Y if you want to enable AUDIO on ACP7.0
91          If unsure select "N".
92
93config SND_SOC_AMD_MACH_COMMON
94	tristate
95	depends on X86 && PCI && I2C
96	select CLK_FIXED_FCH
97	select SND_SOC_RT5682_I2C
98	select SND_SOC_DMIC
99	select SND_SOC_RT1019
100	select SND_SOC_MAX98357A
101	select SND_SOC_RT5682S
102	select SND_SOC_NAU8825
103	select SND_SOC_NAU8821
104	select SND_SOC_MAX98388
105	help
106	  This option enables common Machine driver module for ACP.
107
108config SND_SOC_AMD_LEGACY_MACH
109	tristate "AMD Legacy Machine Driver Support"
110	depends on X86 && PCI && I2C
111	select SND_SOC_AMD_MACH_COMMON
112	help
113	  This option enables legacy sound card support for ACP audio.
114
115config SND_SOC_AMD_SOF_MACH
116	tristate "AMD SOF Machine Driver Support"
117	depends on X86 && PCI && I2C
118	select SND_SOC_AMD_MACH_COMMON
119	help
120	  This option enables SOF sound card support for ACP audio.
121
122config SND_SOC_AMD_SDW_MACH_COMMON
123	tristate
124	help
125	  This option enables common SoundWire Machine driver module for
126	  AMD platforms.
127
128config SND_SOC_AMD_SOF_SDW_MACH
129	tristate "AMD SOF Soundwire Machine Driver Support"
130	depends on X86 && PCI && ACPI
131	depends on SOUNDWIRE
132	select SND_SOC_AMD_SDW_MACH_COMMON
133	select SND_SOC_SDW_UTILS
134	select SND_SOC_DMIC
135	select SND_SOC_RT711_SDW
136	select SND_SOC_RT711_SDCA_SDW
137	select SND_SOC_RT1316_SDW
138	select SND_SOC_RT715_SDW
139	select SND_SOC_RT715_SDCA_SDW
140	help
141	  This option enables SOF sound card support for SoundWire enabled
142	  AMD platforms along with ACP PDM controller.
143	  Say Y if you want to enable SoundWire based machine driver support
144	  on AMD platform.
145	  If unsure select "N".
146
147config SND_SOC_AMD_LEGACY_SDW_MACH
148	tristate "AMD Legacy(No DSP) Soundwire Machine Driver Support"
149	depends on X86 && PCI && ACPI
150	depends on SOUNDWIRE
151	select SND_SOC_AMD_SDW_MACH_COMMON
152	select SND_SOC_SDW_UTILS
153	select SND_SOC_DMIC
154	select SND_SOC_RT711_SDW
155	select SND_SOC_RT711_SDCA_SDW
156	select SND_SOC_RT712_SDCA_SDW
157	select SND_SOC_RT712_SDCA_DMIC_SDW
158	select SND_SOC_RT1316_SDW
159	select SND_SOC_RT715_SDW
160	select SND_SOC_RT715_SDCA_SDW
161	select SND_SOC_RT722_SDCA_SDW
162	help
163	  This option enables Legacy(No DSP) sound card support for SoundWire
164	  enabled AMD platforms along with ACP PDM controller.
165	  Say Y if you want to enable SoundWire based machine driver support
166	  on AMD platform.
167	  If unsure select "N".
168
169endif # SND_SOC_AMD_ACP_COMMON
170
171config SND_AMD_SOUNDWIRE_ACPI
172	tristate
173	depends on ACPI
174	help
175	  This options enables ACPI helper functions for SoundWire
176	  interface for AMD platforms.
177