xref: /openbmc/linux/sound/soc/amd/acp/Kconfig (revision 5860800e)
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
16if SND_SOC_AMD_ACP_COMMON
17
18config SND_SOC_AMD_ACP_PDM
19	tristate
20
21config SND_SOC_AMD_ACP_I2S
22	tristate
23
24config SND_SOC_AMD_ACP_PCM
25	tristate
26	select SND_SOC_ACPI if ACPI
27
28config SND_SOC_AMD_ACP_PCI
29	tristate "AMD ACP PCI Driver Support"
30	depends on X86 && PCI
31	help
32	  This options enables generic PCI driver for ACP device.
33
34config SND_AMD_ASOC_RENOIR
35	tristate "AMD ACP ASOC Renoir Support"
36	select SND_SOC_AMD_ACP_PCM
37	select SND_SOC_AMD_ACP_I2S
38	select SND_SOC_AMD_ACP_PDM
39	depends on X86 && PCI
40	help
41	  This option enables Renoir I2S support on AMD platform.
42
43config SND_SOC_AMD_MACH_COMMON
44	tristate
45	depends on X86 && PCI && I2C
46	select CLK_FIXED_FCH
47	select SND_SOC_RT5682_I2C
48	select SND_SOC_DMIC
49	select SND_SOC_RT1019
50	select SND_SOC_MAX98357A
51	select SND_SOC_RT5682S
52	help
53	  This option enables common Machine driver module for ACP.
54
55config SND_SOC_AMD_LEGACY_MACH
56	tristate "AMD Legacy Machine Driver Support"
57	depends on X86 && PCI && I2C
58	select SND_SOC_AMD_MACH_COMMON
59	help
60	  This option enables legacy sound card support for ACP audio.
61
62config SND_SOC_AMD_SOF_MACH
63	tristate "AMD SOF Machine Driver Support"
64	depends on X86 && PCI && I2C
65	select SND_SOC_AMD_MACH_COMMON
66	help
67	  This option enables SOF sound card support for ACP audio.
68
69endif # SND_SOC_AMD_ACP_COMMON
70