xref: /linux/sound/soc/amd/acp/Kconfig (revision 3fd6c59042dbba50391e30862beac979491145fe)
1623621a9SAjit Kumar Pandey# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2623621a9SAjit Kumar Pandey# This file is provided under a dual BSD/GPLv2 license. When using or
3623621a9SAjit Kumar Pandey# redistributing this file, you may do so under either license.
4623621a9SAjit Kumar Pandey#
5623621a9SAjit Kumar Pandey# Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
6623621a9SAjit Kumar Pandey#
7623621a9SAjit Kumar Pandey
8623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_COMMON
9623621a9SAjit Kumar Pandey	tristate "AMD Audio ACP Common support"
10623621a9SAjit Kumar Pandey	select SND_AMD_ACP_CONFIG
114bf74f8eSGeert Uytterhoeven	depends on X86 && PCI
12623621a9SAjit Kumar Pandey	help
13623621a9SAjit Kumar Pandey	  This option enables common modules for Audio-Coprocessor i.e. ACP
14623621a9SAjit Kumar Pandey	  IP block on AMD platforms.
15623621a9SAjit Kumar Pandey
1657677ccdSVijendar Mukundaconfig SND_SOC_ACPI_AMD_MATCH
1757677ccdSVijendar Mukunda	tristate
1857677ccdSVijendar Mukunda	select SND_SOC_ACPI if ACPI
1957677ccdSVijendar Mukunda
20f41d2eceSGeert Uytterhoevenif SND_SOC_AMD_ACP_COMMON
21f41d2eceSGeert Uytterhoeven
22c32bd332SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PDM
23c32bd332SAjit Kumar Pandey	tristate
24c32bd332SAjit Kumar Pandey
25e61b4155SSyed Saba Kareemconfig SND_SOC_AMD_ACP_LEGACY_COMMON
26e61b4155SSyed Saba Kareem	tristate
27e61b4155SSyed Saba Kareem
28623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_I2S
29623621a9SAjit Kumar Pandey	tristate
30623621a9SAjit Kumar Pandey
31623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PCM
32623621a9SAjit Kumar Pandey	tristate
3362a30322SArnd Bergmann	select SND_SOC_ACPI if ACPI
3458c8c843SAjit Kumar Pandey
355a9f07a4SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PCI
365a9f07a4SAjit Kumar Pandey	tristate "AMD ACP PCI Driver Support"
375a9f07a4SAjit Kumar Pandey	depends on X86 && PCI
380b383620SArnd Bergmann	depends on ACPI
390b383620SArnd Bergmann	select SND_SOC_AMD_ACP_LEGACY_COMMON
405a9f07a4SAjit Kumar Pandey	help
415a9f07a4SAjit Kumar Pandey	  This options enables generic PCI driver for ACP device.
425a9f07a4SAjit Kumar Pandey
4358c8c843SAjit Kumar Pandeyconfig SND_AMD_ASOC_RENOIR
4458c8c843SAjit Kumar Pandey	tristate "AMD ACP ASOC Renoir Support"
450b383620SArnd Bergmann	depends on ACPI
4658c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_PCM
4758c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_I2S
48def6dc25SAjit Kumar Pandey	select SND_SOC_AMD_ACP_PDM
49fc11d326SSyed Saba Kareem	select SND_SOC_AMD_ACP_LEGACY_COMMON
5058c8c843SAjit Kumar Pandey	depends on X86 && PCI
5158c8c843SAjit Kumar Pandey	help
5258c8c843SAjit Kumar Pandey	  This option enables Renoir I2S support on AMD platform.
53d4c750f2SAjit Kumar Pandey
54e8a33a94SV sujith kumar Reddyconfig SND_AMD_ASOC_REMBRANDT
55e8a33a94SV sujith kumar Reddy	tristate "AMD ACP ASOC Rembrandt Support"
560b383620SArnd Bergmann	depends on ACPI
57e8a33a94SV sujith kumar Reddy	select SND_SOC_AMD_ACP_PCM
58e8a33a94SV sujith kumar Reddy	select SND_SOC_AMD_ACP_I2S
59e8a33a94SV sujith kumar Reddy	select SND_SOC_AMD_ACP_PDM
60fc11d326SSyed Saba Kareem	select SND_SOC_AMD_ACP_LEGACY_COMMON
61e8a33a94SV sujith kumar Reddy	depends on X86 && PCI
62e8a33a94SV sujith kumar Reddy	help
63e8a33a94SV sujith kumar Reddy	  This option enables Rembrandt I2S support on AMD platform.
64e8a33a94SV sujith kumar Reddy	  Say Y if you want to enable AUDIO on Rembrandt
65e8a33a94SV sujith kumar Reddy	  If unsure select "N".
66e8a33a94SV sujith kumar Reddy
67d4c2d539SSyed Saba Kareemconfig SND_AMD_ASOC_ACP63
68d4c2d539SSyed Saba Kareem	tristate "AMD ACP ASOC ACP6.3 Support"
69a65cdffbSArnd Bergmann	depends on X86 && PCI
70a65cdffbSArnd Bergmann	depends on ACPI
71d4c2d539SSyed Saba Kareem	select SND_SOC_AMD_ACP_PCM
72d4c2d539SSyed Saba Kareem	select SND_SOC_AMD_ACP_I2S
73d4c2d539SSyed Saba Kareem	select SND_SOC_AMD_ACP_PDM
74a65cdffbSArnd Bergmann	select SND_SOC_AMD_ACP_LEGACY_COMMON
75d4c2d539SSyed Saba Kareem	help
76d4c2d539SSyed Saba Kareem	  This option enables Acp6.3 I2S support on AMD platform.
77d4c2d539SSyed Saba Kareem	  Say Y if you want to enable AUDIO on ACP6.3
78d4c2d539SSyed Saba Kareem	  If unsure select "N".
79d4c2d539SSyed Saba Kareem
80d3534684SSyed Saba Kareemconfig SND_AMD_ASOC_ACP70
81d3534684SSyed Saba Kareem	tristate "AMD ACP ASOC Acp7.0 Support"
82d3534684SSyed Saba Kareem	depends on X86 && PCI
83d3534684SSyed Saba Kareem	depends on ACPI
84d3534684SSyed Saba Kareem	select SND_SOC_AMD_ACP_PCM
85d3534684SSyed Saba Kareem	select SND_SOC_AMD_ACP_I2S
86d3534684SSyed Saba Kareem	select SND_SOC_AMD_ACP_PDM
87459956b1SSyed Saba Kareem	select SND_SOC_AMD_ACP_LEGACY_COMMON
88d3534684SSyed Saba Kareem	help
89d3534684SSyed Saba Kareem	This option enables Acp7.0 PDM support on AMD platform.
90d3534684SSyed Saba Kareem	Say Y if you want to enable AUDIO on ACP7.0
91d3534684SSyed Saba Kareem          If unsure select "N".
92d3534684SSyed Saba Kareem
93d4c750f2SAjit Kumar Pandeyconfig SND_SOC_AMD_MACH_COMMON
94d4c750f2SAjit Kumar Pandey	tristate
9517572892SV sujith kumar Reddy	depends on X86 && PCI && I2C
96d4c750f2SAjit Kumar Pandey	select CLK_FIXED_FCH
97d4c750f2SAjit Kumar Pandey	select SND_SOC_RT5682_I2C
98d4c750f2SAjit Kumar Pandey	select SND_SOC_DMIC
99d4c750f2SAjit Kumar Pandey	select SND_SOC_RT1019
100cabc3aceSAjit Kumar Pandey	select SND_SOC_MAX98357A
1018b725626SAjit Kumar Pandey	select SND_SOC_RT5682S
1020439eb4dSV sujith kumar Reddy	select SND_SOC_NAU8825
1034b526b32SVenkata Prasad Potturu	select SND_SOC_NAU8821
104ac91c8c8SVenkata Prasad Potturu	select SND_SOC_MAX98388
105d4c750f2SAjit Kumar Pandey	help
106d4c750f2SAjit Kumar Pandey	  This option enables common Machine driver module for ACP.
1079d8a7be8SAjit Kumar Pandey
1089d8a7be8SAjit Kumar Pandeyconfig SND_SOC_AMD_LEGACY_MACH
1099d8a7be8SAjit Kumar Pandey	tristate "AMD Legacy Machine Driver Support"
11017572892SV sujith kumar Reddy	depends on X86 && PCI && I2C
1119d8a7be8SAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
1129d8a7be8SAjit Kumar Pandey	help
1139d8a7be8SAjit Kumar Pandey	  This option enables legacy sound card support for ACP audio.
1149f84940fSAjit Kumar Pandey
1159f84940fSAjit Kumar Pandeyconfig SND_SOC_AMD_SOF_MACH
1169f84940fSAjit Kumar Pandey	tristate "AMD SOF Machine Driver Support"
11717572892SV sujith kumar Reddy	depends on X86 && PCI && I2C
1189f84940fSAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
1199f84940fSAjit Kumar Pandey	help
1209f84940fSAjit Kumar Pandey	  This option enables SOF sound card support for ACP audio.
121f41d2eceSGeert Uytterhoeven
122*cb8ea62eSVijendar Mukundaconfig SND_SOC_AMD_SDW_MACH_COMMON
123*cb8ea62eSVijendar Mukunda	tristate
124*cb8ea62eSVijendar Mukunda	help
125*cb8ea62eSVijendar Mukunda	  This option enables common SoundWire Machine driver module for
126*cb8ea62eSVijendar Mukunda	  AMD platforms.
127*cb8ea62eSVijendar Mukunda
128*cb8ea62eSVijendar Mukundaconfig SND_SOC_AMD_SOF_SDW_MACH
129*cb8ea62eSVijendar Mukunda	tristate "AMD SOF Soundwire Machine Driver Support"
130*cb8ea62eSVijendar Mukunda	depends on X86 && PCI && ACPI
131*cb8ea62eSVijendar Mukunda	depends on SOUNDWIRE
132*cb8ea62eSVijendar Mukunda	select SND_SOC_AMD_SDW_MACH_COMMON
133*cb8ea62eSVijendar Mukunda	select SND_SOC_SDW_UTILS
134*cb8ea62eSVijendar Mukunda	select SND_SOC_DMIC
135*cb8ea62eSVijendar Mukunda	select SND_SOC_RT711_SDW
136*cb8ea62eSVijendar Mukunda	select SND_SOC_RT711_SDCA_SDW
137*cb8ea62eSVijendar Mukunda	select SND_SOC_RT1316_SDW
138*cb8ea62eSVijendar Mukunda	select SND_SOC_RT715_SDW
139*cb8ea62eSVijendar Mukunda	select SND_SOC_RT715_SDCA_SDW
140f41d2eceSGeert Uytterhoeven	help
14169f8336eSArnd Bergmann	  This option enables SOF sound card support for SoundWire enabled
14269f8336eSArnd Bergmann	  AMD platforms along with ACP PDM controller.
14369f8336eSArnd Bergmann	  Say Y if you want to enable SoundWire based machine driver support
14469f8336eSArnd Bergmann	  on AMD platform.
14569f8336eSArnd Bergmann	  If unsure select "N".
14669f8336eSArnd Bergmann
14769f8336eSArnd Bergmannconfig SND_SOC_AMD_LEGACY_SDW_MACH
148	tristate "AMD Legacy(No DSP) Soundwire Machine Driver Support"
149	depends on X86 && PCI && ACPI
150	depends on SOUNDWIRE
151	select SND_SOC_AMD_SDW_MACH_COMMON
152	select SND_SOC_SDW_UTILS
153	select SND_SOC_DMIC
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
162	help
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
166	  on AMD platform.
167	  If unsure select "N".
168
169endif # SND_SOC_AMD_ACP_COMMON
170
171config SND_AMD_SOUNDWIRE_ACPI
172	tristate
173	depends on ACPI
174	help
175	  This options enables ACPI helper functions for SoundWire
176	  interface for AMD platforms.
177