diff --git a/tools/topology/topology2/cavs-nocodec.conf b/tools/topology/topology2/cavs-nocodec.conf index aec5016de76d..a3836f3ef575 100644 --- a/tools/topology/topology2/cavs-nocodec.conf +++ b/tools/topology/topology2/cavs-nocodec.conf @@ -1582,7 +1582,6 @@ Object.PCM.pcm [ Object.PCM.pcm_caps.1 { direction "playback" name "SSP0 Playback" - formats 'S16_LE,S24_LE,S32_LE,U8,A_LAW,MU_LAW,FLOAT_LE' IncludeByKey.SSP0_RATE { "48000" { rates '48000' @@ -1594,18 +1593,30 @@ Object.PCM.pcm [ rates '192000' } } + # the passthrough host copiers support integer formats only IncludeByKey.PASSTHROUGH { "false" { + formats 'S16_LE,S24_LE,S32_LE,U8,A_LAW,MU_LAW,FLOAT_LE' channels_min 1 channels_max 8 } + "true" { + formats 'S16_LE,S24_LE,S32_LE' + } } } Object.PCM.pcm_caps.2 { direction "capture" name "SSP0 Capture" - formats 'S16_LE,S24_LE,S32_LE,U8,A_LAW,MU_LAW,FLOAT_LE' + IncludeByKey.PASSTHROUGH { + "false" { + formats 'S16_LE,S24_LE,S32_LE,U8,A_LAW,MU_LAW,FLOAT_LE' + } + "true" { + formats 'S16_LE,S24_LE,S32_LE' + } + } IncludeByKey.SSP0_RATE { "48000" { rates '48000' @@ -2040,6 +2051,7 @@ IncludeByKey.SSP1_ENABLED { copier_type "SSP" stream_name "NoCodec-1" node_type $I2S_LINK_OUTPUT_CLASS + num_input_pins 1 num_input_audio_formats 1 Object.Base.input_audio_format [ {