topology2: add lp_mode as a attribute in pipeline

Currently lp_mode setting is not included by topology binary
since lp_mode is not defined as a attribute. This patch adds
it in pipeline.

Signed-off-by: Rander Wang <rander.wang@intel.com>
This commit is contained in:
Rander Wang 2022-09-13 10:56:47 +08:00 committed by Liam Girdwood
parent d525235e0e
commit 93d159d7fb
1 changed files with 11 additions and 0 deletions

View File

@ -84,6 +84,17 @@ Class.Widget."pipeline" {
token_ref "sof_tkn_scheduler.word"
}
DefineAttribute."lp_mode" {
# Token reference and type
token_ref "sof_tkn_scheduler.word"
constraints {
!tuple_values [
1
0
]
}
}
attributes {
# pipeline widget name will be constructed as pipeline.1, pipeline.2 etc
!constructor [