xref: /openbmc/linux/sound/soc/amd/acp/Kconfig (revision 62a30322)
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
18623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_I2S
19623621a9SAjit Kumar Pandey	tristate
20623621a9SAjit Kumar Pandey
21623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PCM
22623621a9SAjit Kumar Pandey	tristate
23*62a30322SArnd Bergmann	select SND_SOC_ACPI if ACPI
2458c8c843SAjit Kumar Pandey
2558c8c843SAjit Kumar Pandeyconfig SND_AMD_ASOC_RENOIR
2658c8c843SAjit Kumar Pandey	tristate "AMD ACP ASOC Renoir Support"
2758c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_PCM
2858c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_I2S
2958c8c843SAjit Kumar Pandey	depends on X86 && PCI
3058c8c843SAjit Kumar Pandey	help
3158c8c843SAjit Kumar Pandey	  This option enables Renoir I2S support on AMD platform.
32d4c750f2SAjit Kumar Pandey
33d4c750f2SAjit Kumar Pandeyconfig SND_SOC_AMD_MACH_COMMON
34d4c750f2SAjit Kumar Pandey	tristate
351dcc81d9SArnd Bergmann	depends on X86 && PCI && I2C
36d4c750f2SAjit Kumar Pandey	select CLK_FIXED_FCH
37d4c750f2SAjit Kumar Pandey	select SND_SOC_RT5682_I2C
38d4c750f2SAjit Kumar Pandey	select SND_SOC_DMIC
39d4c750f2SAjit Kumar Pandey	select SND_SOC_RT1019
40cabc3aceSAjit Kumar Pandey	select SND_SOC_MAX98357A
418b725626SAjit Kumar Pandey	select SND_SOC_RT5682S
42d4c750f2SAjit Kumar Pandey	help
43d4c750f2SAjit Kumar Pandey	  This option enables common Machine driver module for ACP.
449d8a7be8SAjit Kumar Pandey
459d8a7be8SAjit Kumar Pandeyconfig SND_SOC_AMD_LEGACY_MACH
469d8a7be8SAjit Kumar Pandey	tristate "AMD Legacy Machine Driver Support"
471dcc81d9SArnd Bergmann	depends on X86 && PCI && I2C
489d8a7be8SAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
49f31c9399SGeert Uytterhoeven	depends on X86 && PCI && I2C
509d8a7be8SAjit Kumar Pandey	help
519d8a7be8SAjit Kumar Pandey	  This option enables legacy sound card support for ACP audio.
529f84940fSAjit Kumar Pandey
539f84940fSAjit Kumar Pandeyconfig SND_SOC_AMD_SOF_MACH
549f84940fSAjit Kumar Pandey	tristate "AMD SOF Machine Driver Support"
551dcc81d9SArnd Bergmann	depends on X86 && PCI && I2C
569f84940fSAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
57f31c9399SGeert Uytterhoeven	depends on X86 && PCI && I2C
589f84940fSAjit Kumar Pandey	help
599f84940fSAjit Kumar Pandey	  This option enables SOF sound card support for ACP audio.
60f41d2eceSGeert Uytterhoeven
61f41d2eceSGeert Uytterhoevenendif # SND_SOC_AMD_ACP_COMMON
62