topology2: cavs-nocodec: Make io-gateway for SSP1 capture conditional

It should be added only if SSP1 is enabled

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2023-05-05 12:22:04 -07:00 committed by Kai Vehmanen
parent 45c3f13215
commit d37da44c39
1 changed files with 22 additions and 19 deletions

View File

@ -385,25 +385,6 @@ Object.Pipeline.host-gateway-capture [
]
Object.Pipeline.io-gateway-capture [
{
index 10
direction capture
Object.Widget.copier."1" {
dai_index 1
dai_type "SSP"
type dai_out
copier_type "SSP"
stream_name "NoCodec-1"
node_type $I2S_LINK_INPUT_CLASS
Object.Base.audio_format.1 {
in_bit_depth 32
in_valid_bit_depth 32
out_bit_depth 32
out_valid_bit_depth 32
}
}
}
{
index 12
direction capture
@ -709,6 +690,28 @@ IncludeByKey.SSP1_ENABLED {
}
]
Object.Pipeline.io-gateway-capture [
{
index 10
direction capture
Object.Widget.copier."1" {
dai_index 1
dai_type "SSP"
type dai_out
copier_type "SSP"
stream_name "NoCodec-1"
node_type $I2S_LINK_INPUT_CLASS
Object.Base.audio_format.1 {
in_bit_depth 32
in_valid_bit_depth 32
out_bit_depth 32
out_valid_bit_depth 32
}
}
}
]
Object.Pipeline.host-copier-gain-mixin-playback [
{
index 3