xref: /linux/drivers/soundwire/Makefile (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
29251345dSVinod Koul#
39251345dSVinod Koul# Makefile for soundwire core
49251345dSVinod Koul#
59251345dSVinod Koul
69251345dSVinod Koul#Bus Objs
7908442aaSVinod Koulsoundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o  \
8bcac5902SPierre-Louis Bossart			sysfs_slave.o sysfs_slave_dpn.o
98676b3caSPierre-Louis Bossartobj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
102f52a517SVinod Koul
119026118fSBard Liaosoundwire-generic-allocation-objs := generic_bandwidth_allocation.o
129026118fSBard Liaoobj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
139026118fSBard Liao
14bf03473dSPierre-Louis Bossartifdef CONFIG_DEBUG_FS
15908442aaSVinod Koulsoundwire-bus-y += debugfs.o
16bf03473dSPierre-Louis Bossartendif
17bf03473dSPierre-Louis Bossart
183b6c4a11SCharles Keepaxifdef CONFIG_IRQ_DOMAIN
193b6c4a11SCharles Keepaxsoundwire-bus-y += irq.o
203b6c4a11SCharles Keepaxendif
213b6c4a11SCharles Keepax
22c0bf349eSVijendar Mukunda#AMD driver
23*ed5e8741SVijendar Mukundasoundwire-amd-y := amd_init.o amd_manager.o
24c0bf349eSVijendar Mukundaobj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
25c0bf349eSVijendar Mukunda
262f52a517SVinod Koul#Cadence Objs
27908442aaSVinod Koulsoundwire-cadence-y := cadence_master.o
282f52a517SVinod Koulobj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
2971bb8a1bSVinod Koul
3071bb8a1bSVinod Koul#Intel driver
31312316d5SPierre-Louis Bossartsoundwire-intel-y :=	intel.o intel_ace2x.o intel_ace2x_debugfs.o \
32312316d5SPierre-Louis Bossart			intel_auxdevice.o intel_init.o dmi-quirks.o \
331a1a6a69SPierre-Louis Bossart			intel_bus_common.o
3471bb8a1bSVinod Koulobj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
35d62a7d41SVinod Koul
3602efb49aSSrinivas Kandagatla#Qualcomm driver
37908442aaSVinod Koulsoundwire-qcom-y :=	qcom.o
3802efb49aSSrinivas Kandagatlaobj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
39