mirror of https://github.com/thesofproject/sof.git
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:
parent
d525235e0e
commit
93d159d7fb
|
@ -84,6 +84,17 @@ Class.Widget."pipeline" {
|
||||||
token_ref "sof_tkn_scheduler.word"
|
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 {
|
attributes {
|
||||||
# pipeline widget name will be constructed as pipeline.1, pipeline.2 etc
|
# pipeline widget name will be constructed as pipeline.1, pipeline.2 etc
|
||||||
!constructor [
|
!constructor [
|
||||||
|
|
Loading…
Reference in New Issue