Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/topology/topology2/include/common/tokens.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Object.Base.VendorToken {
# ABI 4.0 onwards
lp_mode 207
use_chain_dma 209
kcps 210
}

"9" {
Expand Down
13 changes: 13 additions & 0 deletions tools/topology/topology2/include/components/pipeline.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
#
# Where N is the unique instance number for pipeline widget in the same alsaconf node.

Define {
# If KCPS value for the pipeline is 0 then the driver does not send any
# KCPS adjustment message to the firmware. This is the default.
KCPS_PIPELINE_DEFAULT 0
}

Class.Widget."pipeline" {
# pipeline_id for the pipeline widget
DefineAttribute."index" {}
Expand Down Expand Up @@ -104,6 +110,12 @@ Class.Widget."pipeline" {
}
}

# kcps requirements for the pipeline, default value defined bellow
DefineAttribute."kcps" {
# Token reference and type
token_ref "sof_tkn_scheduler.word"
}

attributes {
# pipeline widget name will be constructed as pipeline.1, pipeline.2 etc
!constructor [
Expand All @@ -127,4 +139,5 @@ Class.Widget."pipeline" {
# Default attributes for pipeline
type "scheduler"
no_pm "true"
kcps $KCPS_PIPELINE_DEFAULT
}