Skip to content

Commit adf4c94

Browse files
committed
topology2: add sof-sdca-mic-1/4/8ch-id4 tplgs support
Add 1 channel, 4 channel and 8 channel sdca mic function topologies support. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 61dab4b commit adf4c94

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

tools/topology/topology2/include/pipelines/cavs/host-gateway-tdfb-drc-capture.conf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,18 @@ Class.Pipeline."host-gateway-tdfb-drc-capture" {
5757
{
5858
in_bit_depth 32
5959
in_valid_bit_depth 32
60+
in_channels 4
61+
in_ch_cfg $CHANNEL_CONFIG_3_POINT_1
62+
in_ch_map $CHANNEL_MAP_3_POINT_1
6063
}
6164
]
6265
Object.Base.output_audio_format [
6366
{
6467
out_bit_depth 32
6568
out_valid_bit_depth 32
69+
out_channels 4
70+
out_ch_cfg $CHANNEL_CONFIG_3_POINT_1
71+
out_ch_map $CHANNEL_MAP_3_POINT_1
6672
}
6773
]
6874
}
@@ -82,12 +88,18 @@ Class.Pipeline."host-gateway-tdfb-drc-capture" {
8288
{
8389
in_bit_depth 32
8490
in_valid_bit_depth 32
91+
in_channels 4
92+
in_ch_cfg $CHANNEL_CONFIG_3_POINT_1
93+
in_ch_map $CHANNEL_MAP_3_POINT_1
8594
}
8695
]
8796
Object.Base.output_audio_format [
8897
{
8998
out_bit_depth 32
9099
out_valid_bit_depth 32
100+
out_channels 4
101+
out_ch_cfg $CHANNEL_CONFIG_3_POINT_1
102+
out_ch_map $CHANNEL_MAP_3_POINT_1
91103
}
92104
]
93105
}

tools/topology/topology2/production/tplg-targets-sdca-generic.cmake

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,19 @@ DEEP_BUF_SPK=true"
2727
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,NUM_HDMIS=0,\
2828
DEEP_BUF_SPK=true"
2929

30+
#default NUM_DMICS=2
3031
"cavs-sdw\;sof-sdca-mic-id4\;SDW_JACK=false,SDW_DMIC=1,NUM_HDMIS=0,\
3132
SDW_DMIC_STREAM=Capture-SmartMic"
3233

34+
"cavs-sdw\;sof-sdca-mic-1ch-id4\;SDW_JACK=false,SDW_DMIC=1,NUM_HDMIS=0,\
35+
SDW_DMIC_STREAM=Capture-SmartMic,SDW_DMIC_PCM_CHANNELS=1"
36+
37+
"cavs-sdw\;sof-sdca-mic-4ch-id4\;SDW_JACK=false,SDW_DMIC=1,NUM_HDMIS=0,\
38+
SDW_DMIC_STREAM=Capture-SmartMic,SDW_DMIC_PCM_CHANNELS=4"
39+
40+
"cavs-sdw\;sof-sdca-mic-8ch-id4\;SDW_JACK=false,SDW_DMIC=1,NUM_HDMIS=0,\
41+
SDW_DMIC_STREAM=Capture-SmartMic,SDW_DMIC_PCM_CHANNELS=8"
42+
3343
"cavs-sdw\;sof-hdmi-pcm5-id2\;SDW_JACK=false,HDMI1_ID=2,HDMI2_ID=3,HDMI3_ID=4"
3444
"cavs-sdw\;sof-hdmi-pcm5-id3\;SDW_JACK=false,HDMI1_ID=3,HDMI2_ID=4,HDMI3_ID=5"
3545
"cavs-sdw\;sof-hdmi-pcm5-id4\;SDW_JACK=false,HDMI1_ID=4,HDMI2_ID=5,HDMI3_ID=6"

0 commit comments

Comments
 (0)