]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: add SKL/KBL hardware code loader
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 20 Sep 2022 13:16:58 +0000 (15:16 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 20 Sep 2022 18:07:29 +0000 (19:07 +0100)
commita44416c3c1af723a807cd3f78fe29506b60c92a0
tree1e1f7b99d0f13dfdc7aa6d065efddbdcbe35b2bb
parent71580101d044a45d9f019e9759bd48467ba56045
ASoC: SOF: Intel: add SKL/KBL hardware code loader

This patch adds support for the SkyLake and KabyLake code loader on
top of the SOF IPC4.

The work was initially contributed in 2018 by Liam Girdwood and Zhu
Yingjiang, and abandoned due to firmware signature issues. With the
existing support of IPC v4, it's time to re-add this capability.

This patch uses the newly added FSR (Firmware State Register)
definitions for DSP state handling and targeting, ass well as new
state definition for SKL which indicates that the firmware has been
started (similar to FW_ENTERED on other platforms).

Co-developed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Co-developed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220920131700.133103-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader-skl.c [new file with mode: 0644]
sound/soc/sof/intel/hda.h