mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
7ceaa40b93
In the existing SoundWire code, Master Devices are not explicitly represented - only SoundWire Slave Devices are exposed (the use of capital letters follows the SoundWire specification conventions). With the existing code, the bus is handled without using a proper device, and bus->dev typically points to a platform device. The right thing to do as discussed in multiple reviews is use a device for each bus. The sdw_master_device addition is done with minimal internal plumbing and not exposed externally. The existing API based on sdw_bus_master_add() and sdw_bus_master_delete() will deal with the sdw_master_device life cycle, which minimizes changes to existing drivers. Note that the Intel code will be modified in follow-up patches (no impact on any platform since the connection with ASoC is not supported upstream so far). Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Acked-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20200518174322.31561-5-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
28 lines
674 B
Makefile
28 lines
674 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for soundwire core
|
|
#
|
|
|
|
#Bus Objs
|
|
soundwire-bus-objs := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o
|
|
obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
|
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
soundwire-bus-objs += debugfs.o
|
|
endif
|
|
|
|
#Cadence Objs
|
|
soundwire-cadence-objs := cadence_master.o
|
|
obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
|
|
|
|
#Intel driver
|
|
soundwire-intel-objs := intel.o
|
|
obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
|
|
|
|
soundwire-intel-init-objs := intel_init.o
|
|
obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel-init.o
|
|
|
|
#Qualcomm driver
|
|
soundwire-qcom-objs := qcom.o
|
|
obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
|