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)
commit15f0d4f531d84015511dbdc2512e5a77c0173d49
tree8902cf28d0a178e4c3333ba66f11b980a4ce9f09
parent84ccd63686498e907799fe3789b521a2a18dd6a9
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]