]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: uapi: Intel: Skylake: Define vendor specific tokens
authorShreyas NC <shreyas.nc@intel.com>
Fri, 12 Aug 2016 06:59:50 +0000 (12:29 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 22 Aug 2016 17:44:11 +0000 (18:44 +0100)
commitda1d556717a75c7203cb5ed44871080c0262dd2d
tree8902cf28d0a178e4c3333ba66f11b980a4ce9f09
parent2aab26c6b7f5bc2e42552b5a644df9ccd3547acd
ASoC: uapi: Intel: Skylake: Define vendor specific tokens

With recent topology changes in alsa-lib, driver data for
modules can now be passed in topology conf file using tuples.

This patch defines vendor specific tokens to describe private
data with tuples.

The allowed token types are UUID, string, bool, byte, short and
word. These tokens will be referenced by the vendor tuples in
the conf file.

In the topology conf file, multiple data blocks can be defined
for a widget which can be either tuple vendor array or blob. So,
each data block will be preceded by a descriptor to identify
size and type of block. These descriptors will be token
value pairs.

Tokens for module_id and loadable flag are not defined as these
are read from the DSP FW manifest.

Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/Kbuild
include/uapi/sound/snd_sst_tokens.h [new file with mode: 0644]