summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake/skl-tplg-interface.h
diff options
context:
space:
mode:
authorShreyas NC <shreyas.nc@intel.com>2016-08-12 12:29:51 +0530
committerMark Brown <broonie@kernel.org>2016-08-22 18:44:11 +0100
commit6277e83292a2d4d88d150c0eb3004bd714ad8728 (patch)
tree63b9ddf85a9677f4efb397e1c719dc7cd6442d6c /sound/soc/intel/skylake/skl-tplg-interface.h
parent15f0d4f531d84015511dbdc2512e5a77c0173d49 (diff)
downloadtalos-obmc-linux-6277e83292a2d4d88d150c0eb3004bd714ad8728.tar.gz
talos-obmc-linux-6277e83292a2d4d88d150c0eb3004bd714ad8728.zip
ASoC: Intel: Skylake: Parse vendor tokens to build module data
Skl topology data is preceded by a descriptor for number of data blocks, the size of the data block and type of data block. The type of the data block can be either a tuple or a binary blob. Private data is parsed based on data block type and module data is filled accordingly. 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>
Diffstat (limited to 'sound/soc/intel/skylake/skl-tplg-interface.h')
-rw-r--r--sound/soc/intel/skylake/skl-tplg-interface.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-tplg-interface.h b/sound/soc/intel/skylake/skl-tplg-interface.h
index bd8b4ae43557..281762eca0ab 100644
--- a/sound/soc/intel/skylake/skl-tplg-interface.h
+++ b/sound/soc/intel/skylake/skl-tplg-interface.h
@@ -241,4 +241,14 @@ struct skl_dfw_manifest {
struct lib_info lib[HDA_MAX_LIB];
} __packed;
+enum skl_tkn_dir {
+ SKL_DIR_IN,
+ SKL_DIR_OUT
+};
+
+enum skl_tuple_type {
+ SKL_TYPE_TUPLE,
+ SKL_TYPE_DATA
+};
+
#endif
OpenPOWER on IntegriCloud