Skip to content

ucm: Add support for component devices

[email protected] alsa-devel 3 versions – Applied

Status from this message: Applied all three patches now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesApplied
  2. v23 patches 3 repliesSuperseded
  3. v1 RFC3 patches 7 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3ucm: Skip component directories when scanning sound card configuration filessrc/ucm/parser.c+46 -10 replies
2/3ucm: Parse sequence of component devicessrc/ucm/parser.c src/ucm/ucm_local.h src/ucm/utils.c+118 -10 replies
3/3ucm: Execute sequence of component devicessrc/ucm/main.c src/ucm/ucm_local.h+85 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLiam Girdwood
SeriesA-b
1/3
2/3
3/3

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

Read the v3 thread

Cover letter [PATCH v3 0/3] ucm: Add support for component devices

From: Mengdong Lin <[email protected]>

Sound cards are defined by machines. And off-soc codecs and DSPs embedded in DSP can be taken as the components and resued by different machines/ sound cards. This series allows codec and SOC vendors to install UCM configuration files for a specific codec or DSP, and sound card verb files can include these conf files of components.

Component devices will not be exposed to applications for backward compatibility. So audio servers like PulseAudio and CRAS still only see the machine devices.

History:
v2: Use an array to define component directories. Document syntax to
enable/disable a component device. Hide cdev defined by the parent device in ucm manager for executing a component sequence.

v3: No longer use macros for UCM manager to enter/exit component domain,
to make code simpler.

Mengdong Lin (3):
ucm: Skip component directories when scanning sound card configuration
files
ucm: Parse sequence of component devices
ucm: Execute sequence of component devices

 src/ucm/main.c      |  78 +++++++++++++++++++++++++-
 src/ucm/parser.c    | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/ucm/ucm_local.h |  19 +++++++
 src/ucm/utils.c     |   1 +
 4 files changed, 249 insertions(+), 3 deletions(-)
Signature · 1 line
2.7.4