ASoC: SOF: Implement Probe IPC API
authorCezary Rojewski <cezary.rojewski@intel.com>
Tue, 18 Feb 2020 14:39:19 +0000 (15:39 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 18 Feb 2020 21:52:06 +0000 (21:52 +0000)
commitf3b433e4699fa358ce5b7bd7688bebe36068c199
tree228707932e92cbd98991d0422626c3eb30accef6
parent4a9ce6e4d9fb9c4acc44f647a68e59ea50ff1caf
ASoC: SOF: Implement Probe IPC API

Add all required types and methods to support each and every request
that driver could sent to firmware. Probe is one of SOF firmware
features which allows for data extraction and injection directly from
or to DMA stream.

Exposes eight IPCs:
- addition and removal of injection DMAs
- addition and removal of probe points
- info retrieval of injection DMAs and probe points
- probe initialization and cleanup

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200218143924.10565-5-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/header.h
sound/soc/sof/Kconfig
sound/soc/sof/Makefile
sound/soc/sof/intel/hda-ipc.c
sound/soc/sof/probe.c [new file with mode: 0644]
sound/soc/sof/probe.h [new file with mode: 0644]