Skip to content

ASoC: SOF: ipc4: Add support for control change notification

Peter Ujfalusi alsa-devel linux-sound 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: SOF: ipc4-topology: Helper to find an swidget by module/instance idsound/soc/sof/ipc4-priv.h sound/soc/sof/ipc4-topology.c+23 -00 replies
2/4ASoC: SOF: ipc4: Add data struct for module notification message from firmwareinclude/sound/sof/ipc4/header.h+29 -00 replies
3/4ASoC: SOF: ipc4-control: Implement control update for switch/enum controlssound/soc/sof/ipc4-control.c+179 -00 replies
4/4ASoC: SOF: ipc4: Handle ALSA kcontrol change notification from firmwaresound/soc/sof/ipc4.c+57 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRanjani SridharanPierre-Louis Bossart
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ASoC: SOF: ipc4: Add support for control change notification

Hi,

This series adds support for handling control (switch/enum) change notifications sent by the firmware.
The use case is similar to what is already used by IPC3 version: the firmware can update the value of an enum or switch and sends notification to the kernel, which in turn will notify the user space of a change.

Regards,
Peter
---
Peter Ujfalusi (4):
ASoC: SOF: ipc4-topology: Helper to find an swidget by module/instance
id
ASoC: SOF: ipc4: Add data struct for module notification message from
firmware
ASoC: SOF: ipc4-control: Implement control update for switch/enum
controls
ASoC: SOF: ipc4: Handle ALSA kcontrol change notification from
firmware

 include/sound/sof/ipc4/header.h |  29 ++++++
 sound/soc/sof/ipc4-control.c    | 179 ++++++++++++++++++++++++++++++++
 sound/soc/sof/ipc4-priv.h       |   3 +
 sound/soc/sof/ipc4-topology.c   |  20 ++++
 sound/soc/sof/ipc4.c            |  57 ++++++++++
 5 files changed, 288 insertions(+)
Signature · 1 line
2.42.1