mbox series

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

Message ID 20231124150853.18648-1-peter.ujfalusi@linux.intel.com
Headers show
Series ASoC: SOF: ipc4: Add support for control change notification | expand

Message

Peter Ujfalusi Nov. 24, 2023, 3:08 p.m. UTC
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(+)

Comments

Mark Brown Nov. 25, 2023, 11:37 a.m. UTC | #1
On Fri, 24 Nov 2023 17:08:49 +0200, Peter Ujfalusi wrote:
> 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
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/4] ASoC: SOF: ipc4-topology: Helper to find an swidget by module/instance id
      commit: 5980bda0a998a6ee6afd83b97a482a40c1c68076
[2/4] ASoC: SOF: ipc4: Add data struct for module notification message from firmware
      commit: 1a307538c9cc274b3191b9a1380bbceece262626
[3/4] ASoC: SOF: ipc4-control: Implement control update for switch/enum controls
      commit: f5eb9945cf9c17eb016aa64c7de13875f259ea07
[4/4] ASoC: SOF: ipc4: Handle ALSA kcontrol change notification from firmware
      commit: 0ff23d460718641c80c8054425256391dca1ac7d

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark