xref: /linux/sound/soc/amd/acp/Kconfig (revision 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c)
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	depends on ACPI
35	select SND_SOC_AMD_ACP_LEGACY_COMMON
36	help
37	  This options enables generic PCI driver for ACP device.
38
39config SND_AMD_ASOC_RENOIR
40	tristate "AMD ACP ASOC Renoir Support"
41	depends on ACPI
42	select SND_SOC_AMD_ACP_PCM
43	select SND_SOC_AMD_ACP_I2S
44	select SND_SOC_AMD_ACP_PDM
45	select SND_SOC_AMD_ACP_LEGACY_COMMON
46	depends on X86 && PCI
47	help
48	  This option enables Renoir I2S support on AMD platform.
49
50config SND_AMD_ASOC_REMBRANDT
51	tristate "AMD ACP ASOC Rembrandt Support"
52	depends on ACPI
53	select SND_SOC_AMD_ACP_PCM
54	select SND_SOC_AMD_ACP_I2S
55	select SND_SOC_AMD_ACP_PDM
56	select SND_SOC_AMD_ACP_LEGACY_COMMON
57	depends on X86 && PCI
58	help
59	  This option enables Rembrandt I2S support on AMD platform.
60	  Say Y if you want to enable AUDIO on Rembrandt
61	  If unsure select "N".
62
63config SND_AMD_ASOC_ACP63
64	tristate "AMD ACP ASOC ACP6.3 Support"
65	depends on X86 && PCI
66	depends on ACPI
67	select SND_SOC_AMD_ACP_PCM
68	select SND_SOC_AMD_ACP_I2S
69	select SND_SOC_AMD_ACP_PDM
70	select SND_SOC_AMD_ACP_LEGACY_COMMON
71	help
72	  This option enables Acp6.3 I2S support on AMD platform.
73	  Say Y if you want to enable AUDIO on ACP6.3
74	  If unsure select "N".
75
76config SND_AMD_ASOC_ACP70
77	tristate "AMD ACP ASOC Acp7.0 Support"
78	depends on X86 && PCI
79	depends on ACPI
80	select SND_SOC_AMD_ACP_PCM
81	select SND_SOC_AMD_ACP_I2S
82	select SND_SOC_AMD_ACP_PDM
83	select SND_SOC_AMD_ACP_LEGACY_COMMON
84	help
85	This option enables Acp7.0 PDM support on AMD platform.
86	Say Y if you want to enable AUDIO on ACP7.0
87          If unsure select "N".
88
89config SND_SOC_AMD_MACH_COMMON
90	tristate
91	depends on X86 && PCI && I2C
92	select CLK_FIXED_FCH
93	select SND_SOC_RT5682_I2C
94	select SND_SOC_DMIC
95	select SND_SOC_RT1019
96	select SND_SOC_MAX98357A
97	select SND_SOC_RT5682S
98	select SND_SOC_NAU8825
99	select SND_SOC_NAU8821
100	select SND_SOC_MAX98388
101	help
102	  This option enables common Machine driver module for ACP.
103
104config SND_SOC_AMD_LEGACY_MACH
105	tristate "AMD Legacy Machine Driver Support"
106	depends on X86 && PCI && I2C
107	select SND_SOC_AMD_MACH_COMMON
108	help
109	  This option enables legacy sound card support for ACP audio.
110
111config SND_SOC_AMD_SOF_MACH
112	tristate "AMD SOF Machine Driver Support"
113	depends on X86 && PCI && I2C
114	select SND_SOC_AMD_MACH_COMMON
115	help
116	  This option enables SOF sound card support for ACP audio.
117
118endif # SND_SOC_AMD_ACP_COMMON
119
120config SND_AMD_SOUNDWIRE_ACPI
121	tristate
122	depends on ACPI
123	help
124	  This options enables ACPI helper functions for SoundWire
125	  interface for AMD platforms.
126