Skip to content

ASoC: Intel: avs: Add support for FCL platform

Cezary Rojewski linux-sound 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 2 repliesIn review
  2. v112 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- dropped the pci_ids and their context descriptors for MTL/LNL
- merged MTL/LNL/PTL patches together, given the above, there is no need to keep them separate

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ALSA: hda: Allow to fetch hlink by IDinclude/sound/hdaudio_ext.h sound/hda/ext/hdac_ext_controller.c+23 -00 replies
2/10ASoC: Intel: avs: Ignore Vendor-space manipulation for ACEsound/soc/intel/avs/avs.h sound/soc/intel/avs/core.c+11 -30 replies
3/10ASoC: Intel: avs: Read HW capabilities when possibleinclude/sound/hdaudio_ext.h sound/hda/ext/hdac_ext_controller.c sound/soc/intel/avs/avs.h +1 more+12 -00 replies
4/10ASoC: Intel: avs: Relocate DSP status registerssound/soc/intel/avs/avs.h sound/soc/intel/avs/core.c sound/soc/intel/avs/loader.c +1 more+18 -60 replies
5/10ASoC: Intel: avs: PTL-based platforms supportinclude/linux/pci_ids.h sound/soc/intel/avs/Makefile sound/soc/intel/avs/avs.h +6 more+403 -50 replies
6/10ASoC: Intel: avs: PCM operations for LNL-based platformssound/soc/intel/avs/pcm.c+85 -310 replies
7/10ASoC: Intel: avs: Dynamically assign ops for non-HDAudio DAIssound/soc/intel/avs/pcm.c+16 -50 replies
8/10ASoC: Intel: avs: Conditionally add DMA config when creating Copiersound/soc/intel/avs/messages.h sound/soc/intel/avs/path.c+76 -40 replies
9/10ASoC: Intel: avs: Add boards definitions for FCL platformsound/soc/intel/avs/board_selection.c+2 -10 replies
10/10ALSA: hda: Select avs-driver by default on FCLsound/hda/intel-dsp-config.c+4 -00 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAmadeusz SławińskiCezary RojewskiLiam Girdwood
SeriesA-b
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-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 v2 thread

Cover letter [PATCH v2 00/10] ASoC: Intel: avs: Add support for FCL platform

The patchset is fairly straightforward - add support for Automotive platforms based on new DSP architecture, Frisco Lake (FCL), a PantherLake (PTL)-based platform is an example of. The cAVS architecture which all Intel AudioDSP followed for years ends with RaptorLake familty. Like all the major updates, this one received new name too - Audio Context Engine (ACE).

While the range of improvements and changes on the firmware/hardware side is large, software survives this evolution without need of any major refactoring. Additional hardware changes brought with LunarLake (LNL, ACE 2.0) call for update in PCM-area. The GPDMAs previously utilized for non-HDAudio transfer types are no longer there, everything is running through HDAudio LINK on the Back-End side now.

In terms of code, the mtl.c file, provided with patch 05 'ASoC: Intel:
avs: PTL-based platforms support' hosts largest number of new handlers - new IRQ and INT control and DSP-cores management. Combined with lnl.c and ptl.c which layer the architecture changes done over ACE generations, provide support for PTL-based platforms e.g.: FCL. The inheritance in summary:

	mtl.c <- lnl.c <- ptl.c

The functional update to HDAudio library is there to help avs-driver read certain capabilities directly from the hardware. Once the pointer to LINK is obtained, there is no need to call AudioDSP firmware to get the caps.

Changes in v2:
- dropped the pci_ids and their context descriptors for MTL/LNL
- merged MTL/LNL/PTL patches together, given the above, there is no need to keep them separate

Amadeusz Sławiński (1):
ASoC: Intel: avs: Add boards definitions for FCL platform

Cezary Rojewski (9):
ALSA: hda: Allow to fetch hlink by ID
ASoC: Intel: avs: Ignore Vendor-space manipulation for ACE
ASoC: Intel: avs: Read HW capabilities when possible
ASoC: Intel: avs: Relocate DSP status registers
ASoC: Intel: avs: PTL-based platforms support
ASoC: Intel: avs: PCM operations for LNL-based platforms
ASoC: Intel: avs: Dynamically assign ops for non-HDAudio DAIs
ASoC: Intel: avs: Conditionally add DMA config when creating Copier
ALSA: hda: Select avs-driver by default on FCL

 include/linux/pci_ids.h               |   1 +
 include/sound/hdaudio_ext.h           |   6 +
 sound/hda/ext/hdac_ext_controller.c   |  19 +++
 sound/hda/intel-dsp-config.c          |   4 +
 sound/soc/intel/avs/Makefile          |   6 +-
 sound/soc/intel/avs/avs.h             |  11 +-
 sound/soc/intel/avs/board_selection.c |   3 +-
 sound/soc/intel/avs/core.c            |  60 +++++++-
 sound/soc/intel/avs/dsp.c             |   2 -
 sound/soc/intel/avs/lnl.c             |  27 ++++
 sound/soc/intel/avs/loader.c          |  11 +-
 sound/soc/intel/avs/messages.h        |  29 ++++
 sound/soc/intel/avs/mtl.c             | 200 ++++++++++++++++++++++++++
 sound/soc/intel/avs/path.c            |  51 ++++++-
 sound/soc/intel/avs/pcm.c             | 133 ++++++++++++-----
 sound/soc/intel/avs/ptl.c             |  98 +++++++++++++
 sound/soc/intel/avs/registers.h       |  40 +++++-
 17 files changed, 648 insertions(+), 53 deletions(-)
 create mode 100644 sound/soc/intel/avs/lnl.c
 create mode 100644 sound/soc/intel/avs/mtl.c
 create mode 100644 sound/soc/intel/avs/ptl.c
Signature · 1 line
2.25.1