2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-12-14 05:49:33 +00:00
|
|
|
#
|
|
|
|
# Makefile for soundwire core
|
|
|
|
#
|
|
|
|
|
|
|
|
#Bus Objs
|
2020-06-16 16:21:40 +00:00
|
|
|
soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
|
2020-05-18 20:35:51 +00:00
|
|
|
sysfs_slave.o sysfs_slave_dpn.o
|
2019-07-18 23:02:15 +00:00
|
|
|
obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
|
2017-12-14 05:49:41 +00:00
|
|
|
|
2020-09-08 13:15:20 +00:00
|
|
|
soundwire-generic-allocation-objs := generic_bandwidth_allocation.o
|
|
|
|
obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
|
|
|
|
|
2019-08-21 18:58:18 +00:00
|
|
|
ifdef CONFIG_DEBUG_FS
|
2020-06-16 16:21:40 +00:00
|
|
|
soundwire-bus-y += debugfs.o
|
2019-08-21 18:58:18 +00:00
|
|
|
endif
|
|
|
|
|
2023-09-20 16:04:01 +00:00
|
|
|
ifdef CONFIG_IRQ_DOMAIN
|
|
|
|
soundwire-bus-y += irq.o
|
|
|
|
endif
|
|
|
|
|
2023-03-21 05:08:57 +00:00
|
|
|
#AMD driver
|
|
|
|
soundwire-amd-y := amd_manager.o
|
|
|
|
obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
|
|
|
|
|
2017-12-14 05:49:41 +00:00
|
|
|
#Cadence Objs
|
2020-06-16 16:21:40 +00:00
|
|
|
soundwire-cadence-y := cadence_master.o
|
2017-12-14 05:49:41 +00:00
|
|
|
obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
|
2017-12-14 05:49:43 +00:00
|
|
|
|
|
|
|
#Intel driver
|
2023-05-15 07:10:26 +00:00
|
|
|
soundwire-intel-y := intel.o intel_ace2x.o intel_ace2x_debugfs.o \
|
|
|
|
intel_auxdevice.o intel_init.o dmi-quirks.o \
|
2023-03-14 01:54:02 +00:00
|
|
|
intel_bus_common.o
|
2017-12-14 05:49:43 +00:00
|
|
|
obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
|
2017-12-14 05:49:44 +00:00
|
|
|
|
2020-01-13 13:21:53 +00:00
|
|
|
#Qualcomm driver
|
2020-06-16 16:21:40 +00:00
|
|
|
soundwire-qcom-y := qcom.o
|
2020-01-13 13:21:53 +00:00
|
|
|
obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
|