[RFC PATCH 0/5] ASoC: SOF: Intel: SoundWire initial integration

From: Pierre-Louis Bossart
Date: Wed Aug 21 2019 - 16:17:30 EST


This RFC is the companion of the other RFC 'soundwire: intel: simplify
DAI/PDI handlingâ'. Our purpose at this point is to gather feedback on
the interfaces between the Intel SOF parts and the SoundWire code.

The suggested solution is a simple init/release inserted at
probe/remove and resume/suspend, as well as two callbacks for the SOF
driver to generate IPC configurations with the firmware. That level of
separation completely hides the details of the SoundWire DAIs and will
allow for 'transparent' multi-cpu DAI support, which will be handled
in the machine driver and the soundwire DAIs.

This solution was tested on IceLake and CometLake, and captures the
feedback from SOF contributors on an initial integration that was
deemed too complicated (and rightly so).

Pierre-Louis Bossart (5):
ASoC: SOF: IPC: dai-intel: move ALH declarations in header file
ASoC: SOF: Intel: hda: add helper to initialize SoundWire IP
ASoC: SOF: Intel: hda: add SoundWire IP support
ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks
ASoC: SOF: Intel: add support for SoundWire suspend/resume

include/sound/sof/dai-intel.h | 18 ++--
sound/soc/sof/intel/hda-dsp.c | 11 +++
sound/soc/sof/intel/hda.c | 157 ++++++++++++++++++++++++++++++++++
sound/soc/sof/intel/hda.h | 11 +++
4 files changed, 188 insertions(+), 9 deletions(-)


base-commit: 3b3aaa017e8072b1bfddda92be296b3463d870be
--
2.20.1