mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
ASoC: Intel: Skylake: Parse manifest data
Topology manifest has lib names and lib count info. So, define tokens to represent module private data and parse these tokens to fill up the manifest structure in the driver 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>
This commit is contained in:
parent
33ece7f9c8
commit
541070cec4
2 changed files with 200 additions and 2 deletions
|
|
@ -153,6 +153,10 @@
|
|||
*
|
||||
* %SKL_TKN_U32_PROC_DOMAIN: Specify processing domain
|
||||
*
|
||||
* %SKL_TKN_U32_LIB_COUNT: Specifies the number of libraries
|
||||
*
|
||||
* %SKL_TKN_STR_LIB_NAME: Specifies the library name
|
||||
*
|
||||
* module_id and loadable flags dont have tokens as these values will be
|
||||
* read from the DSP FW manifest
|
||||
*/
|
||||
|
|
@ -202,7 +206,9 @@ enum SKL_TKNS {
|
|||
SKL_TKN_U32_CAPS_PARAMS_ID,
|
||||
SKL_TKN_U32_CAPS_SIZE,
|
||||
SKL_TKN_U32_PROC_DOMAIN,
|
||||
SKL_TKN_MAX = SKL_TKN_U32_PROC_DOMAIN,
|
||||
SKL_TKN_U32_LIB_COUNT,
|
||||
SKL_TKN_STR_LIB_NAME,
|
||||
SKL_TKN_MAX = SKL_TKN_STR_LIB_NAME,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue