sof/tools/topology/topology2/cavs-sdw.conf

132 lines
2.3 KiB
Plaintext

<include/common/vendor-token.conf>
<include/common/tokens.conf>
<include/common/manifest.conf>
<include/common/pcm.conf>
<include/common/pcm_caps.conf>
<include/common/fe_dai.conf>
<include/common/route.conf>
<include/components/host.conf>
<include/components/dai.conf>
<include/components/pipeline.conf>
<include/components/copier.conf>
<include/dais/alh.conf>
<include/dais/hw_config.conf>
<include/pipelines/cavs/passthrough-playback.conf>
<include/pipelines/cavs/passthrough-capture.conf>
#
# List of all DAIs
#
#ALH Index: 0, Direction: duplex
Object.Dai {
ALH."2" {
id 0
direction "playback"
name SDW0-Playback
default_hw_conf_id 0
rate 48000
channels 2
Object.Base.hw_config."ALH2" {
id 0
}
# include DAI copier components
Object.Widget.copier."0" {
index 2
dai_index 2
type "dai_in"
dai_type "ALH"
copier_type "ALH"
direction "playback"
stream_name "SDW0-Playback"
period_sink_count 0
period_source_count 2
format s16le
}
}
ALH."3" {
id 1
direction "capture"
name SDW0-Capture
default_hw_conf_id 1
rate 48000
channels 2
Object.Base.hw_config."ALH3" {
id 1
}
Object.Widget.copier."0" {
index 3
dai_index 3
type "dai_out"
dai_type "ALH"
copier_type "ALH"
direction "capture"
stream_name "SDW0-Capture"
period_sink_count 2
period_source_count 0
format s16le
}
}
}
#
# Pipeline definitions
#
# Pipeline ID:1 PCM ID: 0
Object.Pipeline {
passthrough-playback."2" {
format "s16le"
Object.Widget.pipeline.1.stream_name "copier.ALH.2.0"
Object.Widget.copier.1.stream_name "Passthrough Playback 0"
}
passthrough-capture."3" {
format "s16le"
Object.Widget.pipeline.1.stream_name "copier.ALH.3.0"
Object.Widget.copier.1.stream_name "Passthrough Capture 0"
}
}
Object.PCM {
pcm."0" {
name "Jack out"
direction "playback"
Object.Base.fe_dai."Jack out" {}
Object.PCM.pcm_caps."playback" {
name "Passthrough Playback 0"
formats 'S16_LE'
}
}
pcm."1" {
name "Jack in"
direction "capture"
Object.Base.fe_dai."Jack in" {}
Object.PCM.pcm_caps."capture" {
name "Passthrough Capture 0"
formats 'S16_LE'
}
}
}
Object.Base {
route."0" {
source "copier.host.2.1"
sink "copier.ALH.2.0"
}
route."1" {
source "copier.ALH.3.0"
sink "copier.host.3.1"
}
}