1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Makefile for soundwire core 4# 5 6#Bus Objs 7soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \ 8 sysfs_slave.o sysfs_slave_dpn.o 9obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o 10 11soundwire-generic-allocation-objs := generic_bandwidth_allocation.o 12obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o 13 14ifdef CONFIG_DEBUG_FS 15soundwire-bus-y += debugfs.o 16endif 17 18#AMD driver 19soundwire-amd-y := amd_manager.o 20obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o 21 22#Cadence Objs 23soundwire-cadence-y := cadence_master.o 24obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o 25 26#Intel driver 27soundwire-intel-y := intel.o intel_auxdevice.o intel_init.o dmi-quirks.o \ 28 intel_bus_common.o 29obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o 30 31#Qualcomm driver 32soundwire-qcom-y := qcom.o 33obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o 34