xref: /openbmc/linux/sound/soc/amd/acp/Kconfig (revision 5a9f07a4)
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
16f41d2eceSGeert Uytterhoevenif SND_SOC_AMD_ACP_COMMON
17f41d2eceSGeert Uytterhoeven
18c32bd332SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PDM
19c32bd332SAjit Kumar Pandey	tristate
20c32bd332SAjit Kumar Pandey
21623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_I2S
22623621a9SAjit Kumar Pandey	tristate
23623621a9SAjit Kumar Pandey
24623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PCM
25623621a9SAjit Kumar Pandey	tristate
2662a30322SArnd Bergmann	select SND_SOC_ACPI if ACPI
2758c8c843SAjit Kumar Pandey
28*5a9f07a4SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PCI
29*5a9f07a4SAjit Kumar Pandey	tristate "AMD ACP PCI Driver Support"
30*5a9f07a4SAjit Kumar Pandey	depends on X86 && PCI
31*5a9f07a4SAjit Kumar Pandey	help
32*5a9f07a4SAjit Kumar Pandey	  This options enables generic PCI driver for ACP device.
33*5a9f07a4SAjit Kumar Pandey
3458c8c843SAjit Kumar Pandeyconfig SND_AMD_ASOC_RENOIR
3558c8c843SAjit Kumar Pandey	tristate "AMD ACP ASOC Renoir Support"
3658c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_PCM
3758c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_I2S
38def6dc25SAjit Kumar Pandey	select SND_SOC_AMD_ACP_PDM
3958c8c843SAjit Kumar Pandey	depends on X86 && PCI
4058c8c843SAjit Kumar Pandey	help
4158c8c843SAjit Kumar Pandey	  This option enables Renoir I2S support on AMD platform.
42d4c750f2SAjit Kumar Pandey
43d4c750f2SAjit Kumar Pandeyconfig SND_SOC_AMD_MACH_COMMON
44d4c750f2SAjit Kumar Pandey	tristate
455c5f08f7SV sujith kumar Reddy	depends on X86 && PCI && I2C && GPIOLIB
46d4c750f2SAjit Kumar Pandey	select CLK_FIXED_FCH
47d4c750f2SAjit Kumar Pandey	select SND_SOC_RT5682_I2C
48d4c750f2SAjit Kumar Pandey	select SND_SOC_DMIC
49d4c750f2SAjit Kumar Pandey	select SND_SOC_RT1019
50cabc3aceSAjit Kumar Pandey	select SND_SOC_MAX98357A
518b725626SAjit Kumar Pandey	select SND_SOC_RT5682S
52d4c750f2SAjit Kumar Pandey	help
53d4c750f2SAjit Kumar Pandey	  This option enables common Machine driver module for ACP.
549d8a7be8SAjit Kumar Pandey
559d8a7be8SAjit Kumar Pandeyconfig SND_SOC_AMD_LEGACY_MACH
569d8a7be8SAjit Kumar Pandey	tristate "AMD Legacy Machine Driver Support"
575c5f08f7SV sujith kumar Reddy	depends on X86 && PCI && I2C && GPIOLIB
589d8a7be8SAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
599d8a7be8SAjit Kumar Pandey	help
609d8a7be8SAjit Kumar Pandey	  This option enables legacy sound card support for ACP audio.
619f84940fSAjit Kumar Pandey
629f84940fSAjit Kumar Pandeyconfig SND_SOC_AMD_SOF_MACH
639f84940fSAjit Kumar Pandey	tristate "AMD SOF Machine Driver Support"
645c5f08f7SV sujith kumar Reddy	depends on X86 && PCI && I2C && GPIOLIB
659f84940fSAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
669f84940fSAjit Kumar Pandey	help
679f84940fSAjit Kumar Pandey	  This option enables SOF sound card support for ACP audio.
68f41d2eceSGeert Uytterhoeven
69f41d2eceSGeert Uytterhoevenendif # SND_SOC_AMD_ACP_COMMON
70