linux/drivers/soundwire
Pierre-Louis Bossart 7ceaa40b93 soundwire: bus_type: add sdw_master_device support
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>
2020-05-19 12:44:35 +05:30
..
bus_type.c soundwire: bus_type: introduce sdw_slave_type and sdw_master_type 2020-05-19 12:44:34 +05:30
bus.c soundwire: bus_type: add sdw_master_device support 2020-05-19 12:44:35 +05:30
bus.h soundwire: bus_type: add sdw_master_device support 2020-05-19 12:44:35 +05:30
cadence_master.c soundwire: intel: (cosmetic) remove multiple superfluous "else" statements 2020-05-11 11:42:39 +05:30
cadence_master.h soundwire: cadence: make SSP interval programmable 2020-03-19 12:43:04 +05:30
debugfs.c soundwire: debugfs: clarify SDPX license with GPL-2.0-only 2020-05-05 08:51:44 +05:30
intel_init.c soundwire: intel: (cosmetic) remove multiple superfluous "else" statements 2020-05-11 11:42:39 +05:30
intel.c soundwire: bus_type: add sdw_master_device support 2020-05-19 12:44:35 +05:30
intel.h soundwire: intel: update stream callbacks for hwparams/free stream operations 2019-12-12 09:17:06 +05:30
Kconfig soundwire: qcom: add support for SoundWire controller 2020-01-14 11:57:47 +05:30
Makefile soundwire: bus_type: add sdw_master_device support 2020-05-19 12:44:35 +05:30
master.c soundwire: bus_type: add sdw_master_device support 2020-05-19 12:44:35 +05:30
mipi_disco.c soundwire: mipi_disco: Switch to use fwnode_property_count_uXX() 2019-08-02 17:15:13 +05:30
qcom.c soundwire: bus_type: add sdw_master_device support 2020-05-19 12:44:35 +05:30
slave.c soundwire: bus_type: introduce sdw_slave_type and sdw_master_type 2020-05-19 12:44:34 +05:30
stream.c Merge branch 'topic/ro_wordlength' into next 2020-03-20 19:25:14 +05:30