Skip to content

ASoC: SOF: Intel: add SoundWire support

Pierre-Louis Bossart alsa-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 3 repliesIn review
  2. v110 patches 2 repliesSuperseded

Changes since v2 from the cover letter

Corrected error in ACPI table (thanks Amadeusz)
Added patch 11 to add reset cycle required on some SoundWire platforms

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ASoC: soc-acpi: expand description of _ADR-based devicesinclude/sound/soc-acpi.h sound/soc/intel/common/soc-acpi-intel-cml-match.c sound/soc/intel/common/soc-acpi-intel-icl-match.c +1 more+221 -511 reply
2/11ASoC: SOF: Intel: add SoundWire configuration interfacesound/soc/sof/intel/hda-loader.c sound/soc/sof/intel/hda.c sound/soc/sof/intel/hda.h+177 -00 replies
3/11ASoC: SOF: IPC: dai-intel: move ALH declarations in header fileinclude/sound/sof/dai-intel.h+9 -90 replies
4/11ASoC: SOF: Intel: hda: add SoundWire stream config/free callbackssound/soc/sof/intel/hda.c+71 -00 replies
5/11ASoC: SOF: Intel: hda: initial SoundWire machine driver autodetectsound/soc/sof/intel/hda.c+150 -151 reply
6/11ASoC: SOF: Intel: hda: disable SoundWire interrupts on suspendsound/soc/sof/intel/hda-dsp.c+2 -00 replies
7/11ASoC: SOF: Intel: hda: merge IPC, stream and SoundWire interrupt handlerssound/soc/sof/intel/hda.c sound/soc/sof/intel/hda.h+47 -00 replies
8/11ASoC: SOF: Intel: hda: add parameter to control SoundWire clock stop quirkssound/soc/sof/intel/hda.c+11 -00 replies
9/11ASoC: SOF: Intel: hda: add WAKEEN interrupt support for SoundWiresound/soc/sof/intel/hda-loader.c sound/soc/sof/intel/hda.c sound/soc/sof/intel/hda.h+34 -00 replies
10/11Asoc: SOF: Intel: hda: check SoundWire wakeen interrupt in irq threadsound/soc/sof/intel/hda.c sound/soc/sof/intel/hda.h+22 -00 replies
11/11ASoC: SOF: Intel: hda-ctrl: add reset cycle before parsing capabilitiessound/soc/sof/intel/hda-ctrl.c+21 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/11] ASoC: SOF: Intel: add SoundWire support

This patchset provides the support for SoundWire support on Intel CometLake, IcelLake and TigerLake RVP platforms and form-factor devices to be released 'soon'.

The bulk of the code is about detecting a valid SoundWire configuration from ACPI, and implementing the interfaces suggested in '[PATCH 0/8] soundwire: remove platform devices, add SOF interfaces' for interrupts, PCI wakes and clock-stop configurations.

Since that SoundWire series will not be in 5.7, the build support for SOF w/ SoundWire is not provided for now, and fall-back functions will be used. This code is tested on a daily basis in the SOF tree and is not expected to change in significant ways.

Changes since v2:
Corrected error in ACPI table (thanks Amadeusz)
Added patch 11 to add reset cycle required on some SoundWire platforms

Bard Liao (1):
ASoC: SOF: Intel: hda: merge IPC, stream and SoundWire interrupt
handlers

Pierre-Louis Bossart (8):
ASoC: soc-acpi: expand description of _ADR-based devices
ASoC: SOF: Intel: add SoundWire configuration interface
ASoC: SOF: IPC: dai-intel: move ALH declarations in header file
ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks
ASoC: SOF: Intel: hda: initial SoundWire machine driver autodetect
ASoC: SOF: Intel: hda: disable SoundWire interrupts on suspend
ASoC: SOF: Intel: hda: add parameter to control SoundWire clock stop
quirks
ASoC: SOF: Intel: hda-ctrl: add reset cycle before parsing
capabilities

Rander Wang (2):
ASoC: SOF: Intel: hda: add WAKEEN interrupt support for SoundWire
Asoc: SOF: Intel: hda: check SoundWire wakeen interrupt in irq thread

 include/sound/soc-acpi.h                      |  39 +-
 include/sound/sof/dai-intel.h                 |  18 +-
 .../intel/common/soc-acpi-intel-cml-match.c   |  87 +++-
 .../intel/common/soc-acpi-intel-icl-match.c   |  97 ++++-
 .../intel/common/soc-acpi-intel-tgl-match.c   |  49 ++-
 sound/soc/sof/intel/hda-ctrl.c                |  25 +-
 sound/soc/sof/intel/hda-dsp.c                 |   2 +
 sound/soc/sof/intel/hda-loader.c              |  31 ++
 sound/soc/sof/intel/hda.c                     | 400 ++++++++++++++++++
 sound/soc/sof/intel/hda.h                     |  66 +++
 10 files changed, 750 insertions(+), 64 deletions(-)
Signature · 1 line
2.20.1