Skip to content

ASoC: SOF: ipc4-control: Support for Switch and Enum controls

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: SOF: ipc4-topology: Add definition for generic switch/enum controlsound/soc/sof/ipc4-topology.h+18 -10 replies
2/3ASoC: SOF: ipc4-control: Add support for ALSA switch controlsound/soc/sof/ipc4-control.c sound/soc/sof/ipc4-topology.c+122 -50 replies
3/3ASoC: SOF: ipc4-control: Add support for ALSA enum controlsound/soc/sof/ipc4-control.c sound/soc/sof/ipc4-topology.c+97 -00 replies

Reviews trailers per patch

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

PatchBard LiaoPierre-Louis Bossart
1/3R-b R-b
2/3R-b R-b
3/3R-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/3] ASoC: SOF: ipc4-control: Support for Switch and Enum controls

Hi,

Currently IPC4 has no notion of a switch or enum type of control which is a generic concept in ALSA.

The generic support for these control types will be as follows:

- large config is used to send the channel-value par array
- param_id of a SWITCH type is 200
- param_id of an ENUM type is 201

Each module need to support a switch or/and enum must handle these universal param_ids.
The message payload is described by struct sof_ipc4_control_msg_payload.

Regards,
Peter
---
Peter Ujfalusi (3):
ASoC: SOF: ipc4-topology: Add definition for generic switch/enum
control
ASoC: SOF: ipc4-control: Add support for ALSA switch control
ASoC: SOF: ipc4-control: Add support for ALSA enum control

 sound/soc/sof/ipc4-control.c  | 175 +++++++++++++++++++++++++++++++++-
 sound/soc/sof/ipc4-topology.c |  49 +++++++++-
 sound/soc/sof/ipc4-topology.h |  19 +++-
 3 files changed, 237 insertions(+), 6 deletions(-)
Signature · 1 line
2.42.0