ASoC: SOF: ipc4: Add data struct for module notification message from firmware
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 24 Nov 2023 15:08:51 +0000 (17:08 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 24 Nov 2023 15:38:00 +0000 (15:38 +0000)
commit1a307538c9cc274b3191b9a1380bbceece262626
tree031539d5202dba461123be1513eb2c622ba281b7
parent5980bda0a998a6ee6afd83b97a482a40c1c68076
ASoC: SOF: ipc4: Add data struct for module notification message from firmware

With the module notification message the information about the notification
is provided via the mailbox with the sof_ipc4_notify_module_data struct.

It contains the module and instance id of the sender of the notification,
the event_id and optionally additional data which is module and event
specific.

At the same time add definitions to identify ALSA kcontrol change
notification.
These notifications use standardized event_id, modules must follow this if
they support such notifications:
upper 16 bit: 0xA15A as a magic identification value
lower 16 bit: param_id of the changed control

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231124150853.18648-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/ipc4/header.h