1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for soundwire core
7 soundwire-bus-y
:= bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
8 sysfs_slave.o sysfs_slave_dpn.o
9 obj-
$(CONFIG_SOUNDWIRE
) += soundwire-bus.o
11 soundwire-generic-allocation-objs
:= generic_bandwidth_allocation.o
12 obj-
$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION
) += soundwire-generic-allocation.o
15 soundwire-bus-y
+= debugfs.o
18 ifdef CONFIG_IRQ_DOMAIN
19 soundwire-bus-y
+= irq.o
23 soundwire-amd-y
:= amd_init.o amd_manager.o
24 obj-
$(CONFIG_SOUNDWIRE_AMD
) += soundwire-amd.o
27 soundwire-cadence-y
:= cadence_master.o
28 obj-
$(CONFIG_SOUNDWIRE_CADENCE
) += soundwire-cadence.o
31 soundwire-intel-y
:= intel.o intel_ace2x.o intel_ace2x_debugfs.o \
32 intel_auxdevice.o intel_init.o dmi-quirks.o \
34 obj-
$(CONFIG_SOUNDWIRE_INTEL
) += soundwire-intel.o
37 soundwire-qcom-y
:= qcom.o
38 obj-
$(CONFIG_SOUNDWIRE_QCOM
) += soundwire-qcom.o