xref: /openbmc/linux/sound/soc/amd/acp/Kconfig (revision 3ddc8b84)
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_LEGACY_COMMON
22	tristate
23
24config SND_SOC_AMD_ACP_I2S
25	tristate
26
27config SND_SOC_AMD_ACP_PCM
28	tristate
29	select SND_SOC_ACPI if ACPI
30
31config SND_SOC_AMD_ACP_PCI
32	tristate "AMD ACP PCI Driver Support"
33	select SND_SOC_AMD_ACP_LEGACY_COMMON
34	depends on X86 && PCI
35	help
36	  This options enables generic PCI driver for ACP device.
37
38config SND_AMD_ASOC_RENOIR
39	tristate "AMD ACP ASOC Renoir Support"
40	select SND_SOC_AMD_ACP_PCM
41	select SND_SOC_AMD_ACP_I2S
42	select SND_SOC_AMD_ACP_PDM
43	select SND_SOC_AMD_ACP_LEGACY_COMMON
44	depends on X86 && PCI
45	help
46	  This option enables Renoir I2S support on AMD platform.
47
48config SND_AMD_ASOC_REMBRANDT
49	tristate "AMD ACP ASOC Rembrandt Support"
50	select SND_SOC_AMD_ACP_PCM
51	select SND_SOC_AMD_ACP_I2S
52	select SND_SOC_AMD_ACP_PDM
53	select SND_SOC_AMD_ACP_LEGACY_COMMON
54	depends on X86 && PCI
55	help
56	  This option enables Rembrandt I2S support on AMD platform.
57	  Say Y if you want to enable AUDIO on Rembrandt
58	  If unsure select "N".
59
60config SND_SOC_AMD_MACH_COMMON
61	tristate
62	depends on X86 && PCI && I2C
63	select CLK_FIXED_FCH
64	select SND_SOC_RT5682_I2C
65	select SND_SOC_DMIC
66	select SND_SOC_RT1019
67	select SND_SOC_MAX98357A
68	select SND_SOC_RT5682S
69	select SND_SOC_NAU8825
70	select SND_SOC_NAU8821
71	select SND_SOC_MAX98388
72	help
73	  This option enables common Machine driver module for ACP.
74
75config SND_SOC_AMD_LEGACY_MACH
76	tristate "AMD Legacy Machine Driver Support"
77	depends on X86 && PCI && I2C
78	select SND_SOC_AMD_MACH_COMMON
79	help
80	  This option enables legacy sound card support for ACP audio.
81
82config SND_SOC_AMD_SOF_MACH
83	tristate "AMD SOF Machine Driver Support"
84	depends on X86 && PCI && I2C
85	select SND_SOC_AMD_MACH_COMMON
86	help
87	  This option enables SOF sound card support for ACP audio.
88
89endif # SND_SOC_AMD_ACP_COMMON
90