ASoC: SOF: Intel: hda-dai: prepare LNL support
authorMark Brown <broonie@kernel.org>
Mon, 15 May 2023 15:17:44 +0000 (00:17 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 15 May 2023 15:17:44 +0000 (00:17 +0900)
commit3959cd3dcbc2ae8ad4f0b1ed30cfd5a08263d55f
tree3fc5641c26713d01cecdf2bd4fb51a131bf669f2
parent6f599018322781cbb1f1d28ae6e3703d3f3a1b5e
parentfdecd4aaf80af23f946ad97f6fb90c1f553fcdcc
ASoC: SOF: Intel: hda-dai: prepare LNL support

Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

The HDAudio support has not changed much since CometLake/2019: the
code was reshuffled for IPC4 support and we used hdac_hda for external
and Display Audio codec, but the hda-dai code was only used for
HDAudio codecs.

In the LunarLake architecture, all endpoints (HDaudio, SSP, DMIC,
SoundWire) are handled with the HDaudio DMA, which requires us to
revisit the definitions of HDA_LINK, and remove the mutual exclusion
between NOCODEC and HDA_LINK: we do want the ability to test SSP/DMIC
in NOCODEC mode even with an HDA DMA.

This code change exposed a number of issues, with a useless .prepare
callback, a DAI number mismatch and the need to support SoundWire
which is handled by a different component in
drivers/soundwire/intel_ace2.c.