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.
5 # Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
8 snd-acp-pcm-y
:= acp-platform.o
9 snd-acp-i2s-y
:= acp-i2s.o
10 snd-acp-pdm-y
:= acp-pdm.o
11 snd-acp-legacy-common-y
:= acp-legacy-common.o
12 snd-acp-pci-y
:= acp-pci.o
13 snd-amd-sdw-acpi-y
:= amd-sdw-acpi.o
15 #platform specific driver
16 snd-acp-renoir-y
:= acp-renoir.o
17 snd-acp-rembrandt-y
:= acp-rembrandt.o
18 snd-acp63-y
:= acp63.o
19 snd-acp70-y
:= acp70.o
21 #machine specific driver
22 snd-acp-mach-y
:= acp-mach-common.o
23 snd-acp-legacy-mach-y
:= acp-legacy-mach.o acp3x-es83xx
/acp3x-es83xx.o
24 snd-acp-sof-mach-y
:= acp-sof-mach.o
25 snd-soc-acpi-amd-match-y
:= amd-acp63-acpi-match.o
26 snd-acp-sdw-mach-y
:= acp-sdw-mach-common.o
27 snd-acp-sdw-sof-mach-y
+= acp-sdw-sof-mach.o
28 snd-acp-sdw-legacy-mach-y
+= acp-sdw-legacy-mach.o
30 obj-
$(CONFIG_SND_SOC_AMD_ACP_PCM
) += snd-acp-pcm.o
31 obj-
$(CONFIG_SND_SOC_AMD_ACP_I2S
) += snd-acp-i2s.o
32 obj-
$(CONFIG_SND_SOC_AMD_ACP_PDM
) += snd-acp-pdm.o
33 obj-
$(CONFIG_SND_SOC_AMD_ACP_LEGACY_COMMON
) += snd-acp-legacy-common.o
34 obj-
$(CONFIG_SND_SOC_AMD_ACP_PCI
) += snd-acp-pci.o
36 obj-
$(CONFIG_SND_AMD_ASOC_RENOIR
) += snd-acp-renoir.o
37 obj-
$(CONFIG_SND_AMD_ASOC_REMBRANDT
) += snd-acp-rembrandt.o
38 obj-
$(CONFIG_SND_AMD_ASOC_ACP63
) += snd-acp63.o
39 obj-
$(CONFIG_SND_AMD_ASOC_ACP70
) += snd-acp70.o
41 obj-
$(CONFIG_SND_AMD_SOUNDWIRE_ACPI
) += snd-amd-sdw-acpi.o
42 obj-
$(CONFIG_SND_SOC_AMD_MACH_COMMON
) += snd-acp-mach.o
43 obj-
$(CONFIG_SND_SOC_AMD_LEGACY_MACH
) += snd-acp-legacy-mach.o
44 obj-
$(CONFIG_SND_SOC_AMD_SOF_MACH
) += snd-acp-sof-mach.o
45 obj-
$(CONFIG_SND_SOC_ACPI_AMD_MATCH
) += snd-soc-acpi-amd-match.o
46 obj-
$(CONFIG_SND_SOC_AMD_SDW_MACH_COMMON
) += snd-acp-sdw-mach.o
47 obj-
$(CONFIG_SND_SOC_AMD_SOF_SDW_MACH
) += snd-acp-sdw-sof-mach.o
48 obj-
$(CONFIG_SND_SOC_AMD_LEGACY_SDW_MACH
) += snd-acp-sdw-legacy-mach.o