mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
9026118f20
This algorithm computes bus parameters like clock frequency, frame shape and port transport parameters based on active stream(s) running on the bus. Developers can also implement their own .compute_params() callback for specific resource management algorithm, and set if before calling sdw_add_bus_master() Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. All hard-coded values were removed from the initial contribution to use BIOS information instead. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Acked-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20200908131520.5712-1-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
29 lines
757 B
Makefile
29 lines
757 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for soundwire core
|
|
#
|
|
|
|
#Bus Objs
|
|
soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
|
|
sysfs_slave.o sysfs_slave_dpn.o
|
|
obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
|
|
|
|
soundwire-generic-allocation-objs := generic_bandwidth_allocation.o
|
|
obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
|
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
soundwire-bus-y += debugfs.o
|
|
endif
|
|
|
|
#Cadence Objs
|
|
soundwire-cadence-y := cadence_master.o
|
|
obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
|
|
|
|
#Intel driver
|
|
soundwire-intel-y := intel.o intel_init.o
|
|
obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
|
|
|
|
#Qualcomm driver
|
|
soundwire-qcom-y := qcom.o
|
|
obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
|