ASoC: Intel: avs: Mute and multi-channel controls support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ASoC: topology: Create kcontrols based on their typesound/ | +14 | 0 replies | |
| 2/10 | ASoC: topology: Save num_channels value for mixer controlsinclude/ sound/ | +2 | 0 replies | |
| 3/10 | ASoC: Intel: avs: Make PEAKVOL configurable from topologyinclude/ sound/ sound/ +1 more | +29 | 0 replies | |
| 4/10 | ASoC: Intel: avs: Add volume control for GAIN modulesound/ | +5 | 0 replies | |
| 5/10 | ASoC: Intel: avs: Update VOLUME and add MUTE IPCssound/ sound/ | +126 | 0 replies | |
| 6/10 | ASoC: Intel: avs: New volume control operationssound/ sound/ sound/ +1 more | +128 | 0 replies | |
| 7/10 | ASoC: Intel: avs: Move to the new control operationssound/ sound/ sound/ +1 more | +6 | 0 replies | |
| 8/10 | ASoC: Intel: avs: Add support for mute for PEAKVOL and GAINsound/ sound/ sound/ +2 more | +134 | 0 replies | |
| 9/10 | ASoC: Intel: avs: Honor the invert flag for mixer controlssound/ | +12 | 0 replies | |
| 10/10 | ASoC: Intel: avs: Support multi-channel PEAKVOL instantiationsound/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] ASoC: Intel: avs: Mute and multi-channel controls support
Note: the patchset DOES provide functional changes to the ASoC framework.
Current kcontrols loaded with ASoC topology allow for mono or stereo configuration only. To expand this and provide support to up to 8 channels, first address the limitations found within the ASoC core and then update the user (avs-driver) so that it can utilize these new functionality. The 8 channels max stems from SND_SOC_TPLG_MAX_CHAN constant which is part of UAPI - asoc.h.
For the ASoC side, two changes are made:
- drop the ambiguous usage of ops.info when determining the kcontrol type
- save the num_channels value which is already part of the ALSA-topology but is currently skipped by ASoC core when loading mixer controls
For the avs-driver side, merge PEAKVOL IPCs as there is basically no difference between the handles and then do the same with the control operations. The merge for the latter is done is two steps: first provide new implementation which honors the multi-channel controls and then move to it while dropping the now-duplicated code.
Amadeusz Sławiński (2):
ASoC: Intel: avs: Add volume control for GAIN module
ASoC: Intel: avs: Add support for mute for PEAKVOL and GAIN
Cezary Rojewski (8):
ASoC: topology: Create kcontrols based on their type
ASoC: topology: Save num_channels value for mixer controls
ASoC: Intel: avs: Make PEAKVOL configurable from topology
ASoC: Intel: avs: Update VOLUME and add MUTE IPCs
ASoC: Intel: avs: New volume control operations
ASoC: Intel: avs: Move to the new control operations
ASoC: Intel: avs: Honor the invert flag for mixer controls
ASoC: Intel: avs: Support multi-channel PEAKVOL instantiation
include/sound/soc.h | 1 + include/uapi/sound/intel/avs/tokens.h | 4 + sound/soc/intel/avs/control.c | 180 ++++++++++++++++++++------ sound/soc/intel/avs/control.h | 12 +- sound/soc/intel/avs/messages.c | 111 +++++++++++++++- sound/soc/intel/avs/messages.h | 24 +++- sound/soc/intel/avs/path.c | 108 ++++++++++++++-- sound/soc/intel/avs/path.h | 5 + sound/soc/intel/avs/topology.c | 47 ++++++- sound/soc/intel/avs/topology.h | 5 + sound/soc/soc-topology.c | 55 +++----- 11 files changed, 440 insertions(+), 112 deletions(-)
Signature · 1 line
2.25.1