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