topology2: sdw-amp-generic: use fixed format on amp feedback io

Use fixed 32 bit format on io-gateway and let host-gateway do the
conversion.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
This commit is contained in:
Bard Liao 2023-05-16 11:36:48 +08:00 committed by Ranjani Sridharan
parent 39550177c3
commit 004241927f
2 changed files with 26 additions and 2 deletions

View File

@ -37,6 +37,8 @@
<pipeline.conf>
<dai.conf>
<host.conf>
<input_audio_format.conf>
<output_audio_format.conf>
<dmic-default.conf>
<hdmi-default.conf>

View File

@ -163,9 +163,8 @@ IncludeByKey.SDW_AMP_FEEDBACK {
}
]
io-gateway [
io-gateway-capture [
{
direction "capture"
index 31
copier_type "ALH"
@ -175,6 +174,29 @@ IncludeByKey.SDW_AMP_FEEDBACK {
copier_type "ALH"
type "dai_out"
node_type $ALH_LINK_INPUT_CLASS
#Use 4 channel format if there are 2 amps on different sdw links
IncludeByKey.NUM_SDW_AMP_LINKS {
"2" {
Object.Base.input_audio_format [
{
in_channels 4
in_bit_depth 32
in_valid_bit_depth 32
in_ch_cfg $CHANNEL_CONFIG_3_POINT_1
in_ch_map $CHANNEL_MAP_3_POINT_1
}
]
Object.Base.output_audio_format [
{
out_channels 4
out_bit_depth 32
out_valid_bit_depth 32
out_ch_cfg $CHANNEL_CONFIG_3_POINT_1
out_ch_map $CHANNEL_MAP_3_POINT_1
}
]
}
}
}
}
]