0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
0002 # This file is provided under a dual BSD/GPLv2 license. When using or
0003 # redistributing this file, you may do so under either license.
0004 #
0005 # Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
0006 #
0007
0008 config SND_SOC_AMD_ACP_COMMON
0009 tristate "AMD Audio ACP Common support"
0010 select SND_AMD_ACP_CONFIG
0011 depends on X86 && PCI
0012 help
0013 This option enables common modules for Audio-Coprocessor i.e. ACP
0014 IP block on AMD platforms.
0015
0016 if SND_SOC_AMD_ACP_COMMON
0017
0018 config SND_SOC_AMD_ACP_PDM
0019 tristate
0020
0021 config SND_SOC_AMD_ACP_I2S
0022 tristate
0023
0024 config SND_SOC_AMD_ACP_PCM
0025 tristate
0026 select SND_SOC_ACPI if ACPI
0027
0028 config SND_SOC_AMD_ACP_PCI
0029 tristate "AMD ACP PCI Driver Support"
0030 depends on X86 && PCI
0031 help
0032 This options enables generic PCI driver for ACP device.
0033
0034 config SND_AMD_ASOC_RENOIR
0035 tristate "AMD ACP ASOC Renoir Support"
0036 select SND_SOC_AMD_ACP_PCM
0037 select SND_SOC_AMD_ACP_I2S
0038 select SND_SOC_AMD_ACP_PDM
0039 depends on X86 && PCI
0040 help
0041 This option enables Renoir I2S support on AMD platform.
0042
0043 config SND_AMD_ASOC_REMBRANDT
0044 tristate "AMD ACP ASOC Rembrandt Support"
0045 select SND_SOC_AMD_ACP_PCM
0046 select SND_SOC_AMD_ACP_I2S
0047 select SND_SOC_AMD_ACP_PDM
0048 depends on X86 && PCI
0049 help
0050 This option enables Rembrandt I2S support on AMD platform.
0051 Say Y if you want to enable AUDIO on Rembrandt
0052 If unsure select "N".
0053
0054 config SND_SOC_AMD_MACH_COMMON
0055 tristate
0056 depends on X86 && PCI && I2C
0057 select CLK_FIXED_FCH
0058 select SND_SOC_RT5682_I2C
0059 select SND_SOC_DMIC
0060 select SND_SOC_RT1019
0061 select SND_SOC_MAX98357A
0062 select SND_SOC_RT5682S
0063 select SND_SOC_NAU8825
0064 help
0065 This option enables common Machine driver module for ACP.
0066
0067 config SND_SOC_AMD_LEGACY_MACH
0068 tristate "AMD Legacy Machine Driver Support"
0069 depends on X86 && PCI && I2C
0070 select SND_SOC_AMD_MACH_COMMON
0071 help
0072 This option enables legacy sound card support for ACP audio.
0073
0074 config SND_SOC_AMD_SOF_MACH
0075 tristate "AMD SOF Machine Driver Support"
0076 depends on X86 && PCI && I2C
0077 select SND_SOC_AMD_MACH_COMMON
0078 help
0079 This option enables SOF sound card support for ACP audio.
0080
0081 endif # SND_SOC_AMD_ACP_COMMON