Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: SOF: ipc4-control: Support for Switch and Enum controls
@ 2023-09-19 10:31 Peter Ujfalusi
  2023-09-19 10:31 ` [PATCH 1/3] ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control Peter Ujfalusi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2023-09-19 10:31 UTC (permalink / raw)
  To: lgirdwood, broonie
  Cc: alsa-devel, pierre-louis.bossart, ranjani.sridharan, kai.vehmanen,
	yung-chuan.liao

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(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-21 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 10:31 [PATCH 0/3] ASoC: SOF: ipc4-control: Support for Switch and Enum controls Peter Ujfalusi
2023-09-19 10:31 ` [PATCH 1/3] ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control Peter Ujfalusi
2023-09-19 10:31 ` [PATCH 2/3] ASoC: SOF: ipc4-control: Add support for ALSA switch control Peter Ujfalusi
2023-09-19 10:31 ` [PATCH 3/3] ASoC: SOF: ipc4-control: Add support for ALSA enum control Peter Ujfalusi
2023-09-21 16:30 ` [PATCH 0/3] ASoC: SOF: ipc4-control: Support for Switch and Enum controls Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox