| From: |
| Bard Liao <yung-chuan.liao-AT-linux.intel.com> |
| To: |
| linux-sound-AT-vger.kernel.org, vkoul-AT-kernel.org |
| Subject: |
| [PATCH v2 00/14] soundwire: add multi-lane support |
| Date: |
| Tue, 03 Dec 2024 21:17:59 +0800 |
| Message-ID: |
| <20241203131813.58454-1-yung-chuan.liao@linux.intel.com> |
| Cc: |
| vinod.koul-AT-linaro.org, linux-kernel-AT-vger.kernel.org, pierre-louis.bossart-AT-linux.dev, bard.liao-AT-intel.com |
| Archive-link: |
| Article |
This series adds multi-lane support for SoundWire. We will get the lane
connection information from ACPI and use multiple lanes if the bandwidth
is not enough.
v2:
- add 2 commits to fix the issue of starting streams simultaneously
Bard Liao (12):
soundwire: add lane field in sdw_port_runtime
soundwire: mipi_disco: read lane mapping properties from ACPI
soundwire: add lane_used_bandwidth in struct sdw_bus
Soundwire: add sdw_slave_get_scale_index helper
Soundwire: stream: program BUSCLOCK_SCALE
Soundwire: generic_bandwidth_allocation: set frame shape on fly
soundwire: generic_bandwidth_allocation: correct clk_freq check in
sdw_select_row_col
soundwire: generic_bandwidth_allocation: check required freq
accurately
soundwire: generic_bandwidth_allocation: select data lane
soundwire: generic_bandwidth_allocation: add lane in sdw_group_params
SoundWire: pass stream to compute_params()
soundwire: generic_bandwidth_allocation: count the bandwidth of active
streams only
Pierre-Louis Bossart (2):
soundwire: stream: set DEPREPARED state earlier
soundwire: generic_bandwidth_allocation: skip DEPREPARED streams
drivers/soundwire/amd_manager.c | 4 +-
drivers/soundwire/bus.c | 65 ++--
drivers/soundwire/bus.h | 3 +
.../soundwire/generic_bandwidth_allocation.c | 316 +++++++++++++++---
drivers/soundwire/mipi_disco.c | 40 ++-
drivers/soundwire/qcom.c | 2 +-
drivers/soundwire/stream.c | 67 +++-
include/linux/soundwire/sdw.h | 192 ++++++-----
8 files changed, 519 insertions(+), 170 deletions(-)
--
2.43.0