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.
5 # Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
8 config SND_SOC_AMD_ACP_COMMON
9 tristate "AMD Audio ACP Common support"
10 select SND_AMD_ACP_CONFIG
13 This option enables common modules for Audio-Coprocessor i.e. ACP
14 IP block on AMD platforms.
16 config SND_SOC_ACPI_AMD_MATCH
18 select SND_SOC_ACPI if ACPI
20 if SND_SOC_AMD_ACP_COMMON
22 config SND_SOC_AMD_ACP_PDM
25 config SND_SOC_AMD_ACP_LEGACY_COMMON
28 config SND_SOC_AMD_ACP_I2S
31 config SND_SOC_AMD_ACP_PCM
33 select SND_SOC_ACPI if ACPI
35 config SND_SOC_AMD_ACP_PCI
36 tristate "AMD ACP PCI Driver Support"
39 select SND_SOC_AMD_ACP_LEGACY_COMMON
41 This options enables generic PCI driver for ACP device.
43 config SND_AMD_ASOC_RENOIR
44 tristate "AMD ACP ASOC Renoir Support"
46 select SND_SOC_AMD_ACP_PCM
47 select SND_SOC_AMD_ACP_I2S
48 select SND_SOC_AMD_ACP_PDM
49 select SND_SOC_AMD_ACP_LEGACY_COMMON
52 This option enables Renoir I2S support on AMD platform.
54 config SND_AMD_ASOC_REMBRANDT
55 tristate "AMD ACP ASOC Rembrandt Support"
57 select SND_SOC_AMD_ACP_PCM
58 select SND_SOC_AMD_ACP_I2S
59 select SND_SOC_AMD_ACP_PDM
60 select SND_SOC_AMD_ACP_LEGACY_COMMON
63 This option enables Rembrandt I2S support on AMD platform.
64 Say Y if you want to enable AUDIO on Rembrandt
67 config SND_AMD_ASOC_ACP63
68 tristate "AMD ACP ASOC ACP6.3 Support"
71 select SND_SOC_AMD_ACP_PCM
72 select SND_SOC_AMD_ACP_I2S
73 select SND_SOC_AMD_ACP_PDM
74 select SND_SOC_AMD_ACP_LEGACY_COMMON
76 This option enables Acp6.3 I2S support on AMD platform.
77 Say Y if you want to enable AUDIO on ACP6.3
80 config SND_AMD_ASOC_ACP70
81 tristate "AMD ACP ASOC Acp7.0 Support"
84 select SND_SOC_AMD_ACP_PCM
85 select SND_SOC_AMD_ACP_I2S
86 select SND_SOC_AMD_ACP_PDM
87 select SND_SOC_AMD_ACP_LEGACY_COMMON
89 This option enables Acp7.0 PDM support on AMD platform.
90 Say Y if you want to enable AUDIO on ACP7.0
93 config SND_SOC_AMD_MACH_COMMON
95 depends on X86 && PCI && I2C
97 select SND_SOC_RT5682_I2C
100 select SND_SOC_MAX98357A
101 select SND_SOC_RT5682S
102 select SND_SOC_NAU8825
103 select SND_SOC_NAU8821
104 select SND_SOC_MAX98388
106 This option enables common Machine driver module for ACP.
108 config SND_SOC_AMD_LEGACY_MACH
109 tristate "AMD Legacy Machine Driver Support"
110 depends on X86 && PCI && I2C
111 select SND_SOC_AMD_MACH_COMMON
113 This option enables legacy sound card support for ACP audio.
115 config SND_SOC_AMD_SOF_MACH
116 tristate "AMD SOF Machine Driver Support"
117 depends on X86 && PCI && I2C
118 select SND_SOC_AMD_MACH_COMMON
120 This option enables SOF sound card support for ACP audio.
122 config SND_SOC_AMD_SDW_MACH_COMMON
125 This option enables common SoundWire Machine driver module for
128 config SND_SOC_AMD_SOF_SDW_MACH
129 tristate "AMD SOF Soundwire Machine Driver Support"
130 depends on X86 && PCI && ACPI
132 select SND_SOC_AMD_SDW_MACH_COMMON
133 select SND_SOC_SDW_UTILS
135 select SND_SOC_RT711_SDW
136 select SND_SOC_RT711_SDCA_SDW
137 select SND_SOC_RT1316_SDW
138 select SND_SOC_RT715_SDW
139 select SND_SOC_RT715_SDCA_SDW
141 This option enables SOF sound card support for SoundWire enabled
142 AMD platforms along with ACP PDM controller.
143 Say Y if you want to enable SoundWire based machine driver support
145 If unsure select "N".
147 config SND_SOC_AMD_LEGACY_SDW_MACH
148 tristate "AMD Legacy(No DSP) Soundwire Machine Driver Support"
149 depends on X86 && PCI && ACPI
151 select SND_SOC_AMD_SDW_MACH_COMMON
152 select SND_SOC_SDW_UTILS
154 select SND_SOC_RT711_SDW
155 select SND_SOC_RT711_SDCA_SDW
156 select SND_SOC_RT712_SDCA_SDW
157 select SND_SOC_RT712_SDCA_DMIC_SDW
158 select SND_SOC_RT1316_SDW
159 select SND_SOC_RT715_SDW
160 select SND_SOC_RT715_SDCA_SDW
161 select SND_SOC_RT722_SDCA_SDW
163 This option enables Legacy(No DSP) sound card support for SoundWire
164 enabled AMD platforms along with ACP PDM controller.
165 Say Y if you want to enable SoundWire based machine driver support
167 If unsure select "N".
169 endif # SND_SOC_AMD_ACP_COMMON
171 config SND_AMD_SOUNDWIRE_ACPI
175 This options enables ACPI helper functions for SoundWire
176 interface for AMD platforms.