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. 4# 5# Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved. 6# 7 8config SND_SOC_AMD_ACP_COMMON 9 tristate "AMD Audio ACP Common support" 10 select SND_AMD_ACP_CONFIG 11 depends on X86 && PCI 12 help 13 This option enables common modules for Audio-Coprocessor i.e. ACP 14 IP block on AMD platforms. 15 16if SND_SOC_AMD_ACP_COMMON 17 18config SND_SOC_AMD_ACP_PDM 19 tristate 20 21config SND_SOC_AMD_ACP_I2S 22 tristate 23 24config SND_SOC_AMD_ACP_PCM 25 tristate 26 select SND_SOC_ACPI if ACPI 27 28config SND_SOC_AMD_ACP_PCI 29 tristate "AMD ACP PCI Driver Support" 30 depends on X86 && PCI 31 help 32 This options enables generic PCI driver for ACP device. 33 34config SND_AMD_ASOC_RENOIR 35 tristate "AMD ACP ASOC Renoir Support" 36 select SND_SOC_AMD_ACP_PCM 37 select SND_SOC_AMD_ACP_I2S 38 select SND_SOC_AMD_ACP_PDM 39 depends on X86 && PCI 40 help 41 This option enables Renoir I2S support on AMD platform. 42 43config SND_AMD_ASOC_REMBRANDT 44 tristate "AMD ACP ASOC Rembrandt Support" 45 select SND_SOC_AMD_ACP_PCM 46 select SND_SOC_AMD_ACP_I2S 47 select SND_SOC_AMD_ACP_PDM 48 depends on X86 && PCI 49 help 50 This option enables Rembrandt I2S support on AMD platform. 51 Say Y if you want to enable AUDIO on Rembrandt 52 If unsure select "N". 53 54config SND_SOC_AMD_MACH_COMMON 55 tristate 56 depends on X86 && PCI && I2C 57 select CLK_FIXED_FCH 58 select SND_SOC_RT5682_I2C 59 select SND_SOC_DMIC 60 select SND_SOC_RT1019 61 select SND_SOC_MAX98357A 62 select SND_SOC_RT5682S 63 select SND_SOC_NAU8825 64 help 65 This option enables common Machine driver module for ACP. 66 67config SND_SOC_AMD_LEGACY_MACH 68 tristate "AMD Legacy Machine Driver Support" 69 depends on X86 && PCI && I2C 70 select SND_SOC_AMD_MACH_COMMON 71 help 72 This option enables legacy sound card support for ACP audio. 73 74config SND_SOC_AMD_SOF_MACH 75 tristate "AMD SOF Machine Driver Support" 76 depends on X86 && PCI && I2C 77 select SND_SOC_AMD_MACH_COMMON 78 help 79 This option enables SOF sound card support for ACP audio. 80 81endif # SND_SOC_AMD_ACP_COMMON 82