blob: 986776787b9eaddf17ef3ca2ff472623eb94fead [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Vinod Koul92513452017-12-14 11:19:33 +05302#
3# Makefile for soundwire core
4#
5
6#Bus Objs
Vinod Koul908442a2020-06-16 21:51:40 +05307soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
Pierre-Louis Bossartbcac5902020-05-19 04:35:51 +08008 sysfs_slave.o sysfs_slave_dpn.o
Pierre-Louis Bossart8676b3c2019-07-18 18:02:15 -05009obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
Vinod Koul2f52a512017-12-14 11:19:41 +053010
Bard Liao90261182020-09-08 21:15:20 +080011soundwire-generic-allocation-objs := generic_bandwidth_allocation.o
12obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
13
Pierre-Louis Bossartbf034732019-08-21 13:58:18 -050014ifdef CONFIG_DEBUG_FS
Vinod Koul908442a2020-06-16 21:51:40 +053015soundwire-bus-y += debugfs.o
Pierre-Louis Bossartbf034732019-08-21 13:58:18 -050016endif
17
Vinod Koul2f52a512017-12-14 11:19:41 +053018#Cadence Objs
Vinod Koul908442a2020-06-16 21:51:40 +053019soundwire-cadence-y := cadence_master.o
Vinod Koul2f52a512017-12-14 11:19:41 +053020obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
Vinod Koul71bb8a12017-12-14 11:19:43 +053021
22#Intel driver
Pierre-Louis Bossartf6594cd2021-03-02 15:51:04 +080023soundwire-intel-y := intel.o intel_init.o dmi-quirks.o
Vinod Koul71bb8a12017-12-14 11:19:43 +053024obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
Vinod Kould62a7d42017-12-14 11:19:44 +053025
Srinivas Kandagatla02efb492020-01-13 13:21:53 +000026#Qualcomm driver
Vinod Koul908442a2020-06-16 21:51:40 +053027soundwire-qcom-y := qcom.o
Srinivas Kandagatla02efb492020-01-13 13:21:53 +000028obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o