Skip to content

soundwire: add multi-lane support

Bard Liao linux-sound lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 1 replyApplied
  2. v214 patches 2 repliesSuperseded
  3. v112 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Preventing accessing the non-exist codecs in the "program BUSCLOCK_SCALE" commit.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/14soundwire: add lane field in sdw_port_runtimedrivers/soundwire/amd_manager.c drivers/soundwire/bus.h drivers/soundwire/generic_bandwidth_allocation.c+5 -30 replies
2/14soundwire: mipi_disco: read lane mapping properties from ACPIdrivers/soundwire/mipi_disco.c include/linux/soundwire/sdw.h+44 -10 replies
3/14soundwire: add lane_used_bandwidth in struct sdw_businclude/linux/soundwire/sdw.h+2 -00 replies
4/14soundwire: stream: set DEPREPARED state earlierdrivers/soundwire/stream.c+10 -10 replies
5/14soundwire: generic_bandwidth_allocation: skip DEPREPARED streamsdrivers/soundwire/generic_bandwidth_allocation.c+3 -00 replies
6/14Soundwire: add sdw_slave_get_scale_index helperdrivers/soundwire/bus.c include/linux/soundwire/sdw.h+36 -210 replies
7/14Soundwire: stream: program BUSCLOCK_SCALEdrivers/soundwire/bus.c drivers/soundwire/stream.c include/linux/soundwire/sdw.h+47 -00 replies
8/14Soundwire: generic_bandwidth_allocation: set frame shape on flydrivers/soundwire/generic_bandwidth_allocation.c+23 -00 replies
9/14soundwire: generic_bandwidth_allocation: correct clk_freq check in sdw_select_row_coldrivers/soundwire/generic_bandwidth_allocation.c+2 -60 replies
10/14soundwire: generic_bandwidth_allocation: check required freq accuratelydrivers/soundwire/generic_bandwidth_allocation.c+2 -10 replies
11/14soundwire: generic_bandwidth_allocation: select data lanedrivers/soundwire/generic_bandwidth_allocation.c drivers/soundwire/stream.c+146 -70 replies
12/14soundwire: generic_bandwidth_allocation: add lane in sdw_group_paramsdrivers/soundwire/bus.h drivers/soundwire/generic_bandwidth_allocation.c+90 -330 replies
13/14SoundWire: pass stream to compute_params()drivers/soundwire/amd_manager.c drivers/soundwire/generic_bandwidth_allocation.c drivers/soundwire/qcom.c +2 more+102 -990 replies
14/14soundwire: generic_bandwidth_allocation: count the bandwidth of active streams onlydrivers/soundwire/generic_bandwidth_allocation.c+13 -00 replies

Reviews trailers per patch

12 of 14 patches have a Reviewed-by or Acked-by.

PatchPéter UjfalusiPierre-Louis BossartRanjani Sridharan
1/14
2/14
3/14R-b R-b
4/14R-b
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b R-b
14/14R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/14] soundwire: add multi-lane support

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
v3:
- Preventing accessing the non-exist codecs in the "program BUSCLOCK_SCALE" commit.

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                    |  71 +++-
 include/linux/soundwire/sdw.h                 | 192 ++++++-----
 8 files changed, 523 insertions(+), 170 deletions(-)
Signature · 1 line
2.43.0