]> 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)
commit1e2e64592208e5a03774a2bdd1ec0a035b4fa30c
tree1e1f7b99d0f13dfdc7aa6d065efddbdcbe35b2bb
parent5e3160ee09b72a2ad60b4ce1967b471d7c0f3de6
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