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