ASoC: SOF: ipc4: Add support for bytes control
authorMark Brown <broonie@kernel.org>
Tue, 14 Mar 2023 13:58:42 +0000 (13:58 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 14 Mar 2023 13:58:42 +0000 (13:58 +0000)
commitbec88efd7fd158eef4fdda1007cf831926a95f16
tree03227590d098431221269413c6ba9079d1758860
parent12e3b2848bfa8197062b7989eefb7c081d372fb8
parenta062c8899fede2ab5660a817e9b602d3fa280a99
ASoC: SOF: ipc4: Add support for bytes control

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

This series will add support for bytes control and topology types.
With IPC4 only the binary payload is sent to the firmware via LARGE_CONFIG
message (which does similar multi-part message handling as the IPC3 control
message did).

The bytes payload itself is not checked by the kernel but user space expected to
wrap it in sof_abi_hdr struct in order to get the target information of the
binary data.

The SOF firmware and sof-ctl have been updated to support blobs used in IPC4
setups.
sound/soc/sof/ipc4-control.c
sound/soc/sof/ipc4-topology.c