Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Vinod Koul | 9251345 | 2017-12-14 11:19:33 +0530 | [diff] [blame] | 2 | # |
| 3 | # Makefile for soundwire core |
| 4 | # |
| 5 | |
| 6 | #Bus Objs |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 7 | soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \ |
Pierre-Louis Bossart | bcac590 | 2020-05-19 04:35:51 +0800 | [diff] [blame] | 8 | sysfs_slave.o sysfs_slave_dpn.o |
Pierre-Louis Bossart | 8676b3c | 2019-07-18 18:02:15 -0500 | [diff] [blame] | 9 | obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 10 | |
Bard Liao | 9026118 | 2020-09-08 21:15:20 +0800 | [diff] [blame] | 11 | soundwire-generic-allocation-objs := generic_bandwidth_allocation.o |
| 12 | obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o |
| 13 | |
Pierre-Louis Bossart | bf03473 | 2019-08-21 13:58:18 -0500 | [diff] [blame] | 14 | ifdef CONFIG_DEBUG_FS |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 15 | soundwire-bus-y += debugfs.o |
Pierre-Louis Bossart | bf03473 | 2019-08-21 13:58:18 -0500 | [diff] [blame] | 16 | endif |
| 17 | |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 18 | #Cadence Objs |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 19 | soundwire-cadence-y := cadence_master.o |
Vinod Koul | 2f52a51 | 2017-12-14 11:19:41 +0530 | [diff] [blame] | 20 | obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o |
Vinod Koul | 71bb8a1 | 2017-12-14 11:19:43 +0530 | [diff] [blame] | 21 | |
| 22 | #Intel driver |
Pierre-Louis Bossart | f6594cd | 2021-03-02 15:51:04 +0800 | [diff] [blame] | 23 | soundwire-intel-y := intel.o intel_init.o dmi-quirks.o |
Vinod Koul | 71bb8a1 | 2017-12-14 11:19:43 +0530 | [diff] [blame] | 24 | obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o |
Vinod Koul | d62a7d4 | 2017-12-14 11:19:44 +0530 | [diff] [blame] | 25 | |
Srinivas Kandagatla | 02efb49 | 2020-01-13 13:21:53 +0000 | [diff] [blame] | 26 | #Qualcomm driver |
Vinod Koul | 908442a | 2020-06-16 21:51:40 +0530 | [diff] [blame] | 27 | soundwire-qcom-y := qcom.o |
Srinivas Kandagatla | 02efb49 | 2020-01-13 13:21:53 +0000 | [diff] [blame] | 28 | obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o |