xref: /linux/sound/soc/amd/acp/Kconfig (revision 13a45b9484e58317c95046e5478c0b1d67df8816)
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	select SND_SOC_NAU8825
53	help
54	  This option enables common Machine driver module for ACP.
55
56config SND_SOC_AMD_LEGACY_MACH
57	tristate "AMD Legacy Machine Driver Support"
58	depends on X86 && PCI && I2C
59	select SND_SOC_AMD_MACH_COMMON
60	help
61	  This option enables legacy sound card support for ACP audio.
62
63config SND_SOC_AMD_SOF_MACH
64	tristate "AMD SOF Machine Driver Support"
65	depends on X86 && PCI && I2C
66	select SND_SOC_AMD_MACH_COMMON
67	help
68	  This option enables SOF sound card support for ACP audio.
69
70endif # SND_SOC_AMD_ACP_COMMON
71