xref: /linux/sound/soc/amd/acp/Kconfig (revision 55d0969c451159cff86949b38c39171cab962069)
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_SOF_SDW_MACH
123	tristate "AMD SOF Soundwire Machine Driver Support"
124	depends on X86 && PCI && ACPI
125	depends on SOUNDWIRE
126	select SND_SOC_SDW_UTILS
127	select SND_SOC_DMIC
128	select SND_SOC_RT711_SDW
129	select SND_SOC_RT711_SDCA_SDW
130	select SND_SOC_RT1316_SDW
131	select SND_SOC_RT715_SDW
132	select SND_SOC_RT715_SDCA_SDW
133	help
134	  This option enables SOF sound card support for SoundWire enabled
135	  AMD platforms along with ACP PDM controller.
136	  Say Y if you want to enable SoundWire based machine driver support
137	  on AMD platform.
138	  If unsure select "N".
139
140endif # SND_SOC_AMD_ACP_COMMON
141
142config SND_AMD_SOUNDWIRE_ACPI
143	tristate
144	depends on ACPI
145	help
146	  This options enables ACPI helper functions for SoundWire
147	  interface for AMD platforms.
148