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_LEGACY_COMMON 22 tristate 23 24config SND_SOC_AMD_ACP_I2S 25 tristate 26 27config SND_SOC_AMD_ACP_PCM 28 tristate 29 select SND_SOC_ACPI if ACPI 30 31config SND_SOC_AMD_ACP_PCI 32 tristate "AMD ACP PCI Driver Support" 33 depends on X86 && PCI 34 depends on ACPI 35 select SND_SOC_AMD_ACP_LEGACY_COMMON 36 help 37 This options enables generic PCI driver for ACP device. 38 39config SND_AMD_ASOC_RENOIR 40 tristate "AMD ACP ASOC Renoir Support" 41 depends on ACPI 42 select SND_SOC_AMD_ACP_PCM 43 select SND_SOC_AMD_ACP_I2S 44 select SND_SOC_AMD_ACP_PDM 45 select SND_SOC_AMD_ACP_LEGACY_COMMON 46 depends on X86 && PCI 47 help 48 This option enables Renoir I2S support on AMD platform. 49 50config SND_AMD_ASOC_REMBRANDT 51 tristate "AMD ACP ASOC Rembrandt Support" 52 depends on ACPI 53 select SND_SOC_AMD_ACP_PCM 54 select SND_SOC_AMD_ACP_I2S 55 select SND_SOC_AMD_ACP_PDM 56 select SND_SOC_AMD_ACP_LEGACY_COMMON 57 depends on X86 && PCI 58 help 59 This option enables Rembrandt I2S support on AMD platform. 60 Say Y if you want to enable AUDIO on Rembrandt 61 If unsure select "N". 62 63config SND_AMD_ASOC_ACP63 64 tristate "AMD ACP ASOC ACP6.3 Support" 65 depends on X86 && PCI 66 depends on ACPI 67 select SND_SOC_AMD_ACP_PCM 68 select SND_SOC_AMD_ACP_I2S 69 select SND_SOC_AMD_ACP_PDM 70 select SND_SOC_AMD_ACP_LEGACY_COMMON 71 help 72 This option enables Acp6.3 I2S support on AMD platform. 73 Say Y if you want to enable AUDIO on ACP6.3 74 If unsure select "N". 75 76config SND_SOC_AMD_MACH_COMMON 77 tristate 78 depends on X86 && PCI && I2C 79 select CLK_FIXED_FCH 80 select SND_SOC_RT5682_I2C 81 select SND_SOC_DMIC 82 select SND_SOC_RT1019 83 select SND_SOC_MAX98357A 84 select SND_SOC_RT5682S 85 select SND_SOC_NAU8825 86 select SND_SOC_NAU8821 87 select SND_SOC_MAX98388 88 help 89 This option enables common Machine driver module for ACP. 90 91config SND_SOC_AMD_LEGACY_MACH 92 tristate "AMD Legacy Machine Driver Support" 93 depends on X86 && PCI && I2C 94 select SND_SOC_AMD_MACH_COMMON 95 help 96 This option enables legacy sound card support for ACP audio. 97 98config SND_SOC_AMD_SOF_MACH 99 tristate "AMD SOF Machine Driver Support" 100 depends on X86 && PCI && I2C 101 select SND_SOC_AMD_MACH_COMMON 102 help 103 This option enables SOF sound card support for ACP audio. 104 105endif # SND_SOC_AMD_ACP_COMMON 106