Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Exported with script example_pass_config.m 24-Jul-2026
# cd tools/tune/tdfb; octave --no-window-system example_pass_config.m
Object.Base.data."tdfb_config" {
bytes "
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
0x48,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x48,0x00,0x00,0x00,0x01,0x00,0x01,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x04,0x00,0xff,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Exported with script example_pass_config.m 24-Jul-2026
# cd tools/tune/tdfb; octave --no-window-system example_pass_config.m
Object.Base.data."tdfb_config" {
bytes "
0x53,0x4f,0x46,0x34,0x00,0x00,0x00,0x00,
0x34,0x01,0x00,0x00,0x00,0xa0,0x01,0x03,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x34,0x01,0x00,0x00,0x08,0x00,0x08,0x00,
0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x04,0x00,0xff,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x04,0x00,0xff,0xff,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x04,0x00,0xff,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x04,0x00,0xff,0xff,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x04,0x00,0xff,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x04,0x00,0xff,0xff,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x04,0x00,0xff,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,
0x04,0x00,0xff,0xff,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,
0x06,0x00,0x07,0x00,0x01,0x00,0x02,0x00,
0x04,0x00,0x08,0x00,0x10,0x00,0x20,0x00,
0x40,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,37 @@
<include/components/tdfb.conf>
<include/pipelines/cavs/host-gateway-capture.conf>

Define {
TDFB_DMIC_PCM_CHANNELS 2
}

IncludeByKey.TDFB_DMIC_PCM_CHANNELS {
"1" {
Define {
TDFB_DMIC_CHANNEL_CFG $CHANNEL_CONFIG_MONO
TDFB_DMIC_CHANNEL_MAP $CHANNEL_MAP_MONO
}
}
"2" {
Define {
TDFB_DMIC_CHANNEL_CFG $CHANNEL_CONFIG_STEREO
TDFB_DMIC_CHANNEL_MAP $CHANNEL_MAP_STEREO
}
}
"4" {
Define {
TDFB_DMIC_CHANNEL_CFG $CHANNEL_CONFIG_3_POINT_1
TDFB_DMIC_CHANNEL_MAP $CHANNEL_MAP_3_POINT_1
}
}
"8" {
Define {
TDFB_SDW_DMIC_CHANNEL_CFG $CHANNEL_CONFIG_7_POINT_1
TDFB_SDW_DMIC_CHANNEL_MAP $CHANNEL_MAP_7_POINT_1
}
}
}

Class.Pipeline."host-gateway-tdfb-drc-capture" {

SubTreeCopy.baseclass {
Expand All @@ -39,6 +70,7 @@ Class.Pipeline."host-gateway-tdfb-drc-capture" {
bytes."1" {
max 16384
IncludeByKey.EFX_MIC_TDFB_PARAMS {
"line1_pass" "include/components/tdfb/line1_pass.conf"
"line2_pass" "include/components/tdfb/line2_pass.conf"
"line2_generic_pm10deg" "include/components/tdfb/line2_generic_pm10deg_48khz.conf"
"line2_50mm" "include/components/tdfb/line2_50mm_pm0_30_90deg_48khz.conf"
Expand All @@ -48,6 +80,7 @@ Class.Pipeline."host-gateway-tdfb-drc-capture" {
"line4to2_pass" "include/components/tdfb/line4to2_pass.conf"
"line4_generic_pm10deg" "include/components/tdfb/line4_generic_pm10deg_48khz.conf"
"line4_28mm" "include/components/tdfb/line2_28mm_pm0_30_90deg_48khz.conf"
"line8_pass" "include/components/tdfb/line8_pass.conf"
}
}
}
Expand All @@ -57,12 +90,18 @@ Class.Pipeline."host-gateway-tdfb-drc-capture" {
{
in_bit_depth 32
in_valid_bit_depth 32
in_channels $TDFB_DMIC_PCM_CHANNELS
in_ch_cfg $TDFB_DMIC_CHANNEL_CFG
in_ch_map $TDFB_DMIC_CHANNEL_MAP
}
]
Object.Base.output_audio_format [
{
out_bit_depth 32
out_valid_bit_depth 32
out_channels $TDFB_DMIC_PCM_CHANNELS
out_ch_cfg $TDFB_DMIC_CHANNEL_CFG
out_ch_map $TDFB_DMIC_CHANNEL_MAP
}
]
}
Expand All @@ -82,12 +121,18 @@ Class.Pipeline."host-gateway-tdfb-drc-capture" {
{
in_bit_depth 32
in_valid_bit_depth 32
in_channels $TDFB_DMIC_PCM_CHANNELS
in_ch_cfg $TDFB_DMIC_CHANNEL_CFG
in_ch_map $TDFB_DMIC_CHANNEL_MAP
}
]
Object.Base.output_audio_format [
{
out_bit_depth 32
out_valid_bit_depth 32
out_channels $TDFB_DMIC_PCM_CHANNELS
out_ch_cfg $TDFB_DMIC_CHANNEL_CFG
out_ch_map $TDFB_DMIC_CHANNEL_MAP
}
]
}
Expand Down
2 changes: 2 additions & 0 deletions tools/topology/topology2/platform/intel/dmic-generic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ IncludeByKey.PASSTHROUGH {
name 'Dmic0 Capture TDFB bytes'
max 16384
IncludeByKey.EFX_DMIC0_TDFB_PARAMS {
"line1_pass" "include/components/tdfb/line1_pass.conf"
"line2_pass" "include/components/tdfb/line2_pass.conf"
"line2_generic_pm10deg" "include/components/tdfb/line2_generic_pm10deg_48khz.conf"
"line2_50mm" "include/components/tdfb/line2_50mm_pm0_30_90deg_48khz.conf"
Expand All @@ -685,6 +686,7 @@ IncludeByKey.PASSTHROUGH {
"line4to2_pass" "include/components/tdfb/line4to2_pass.conf"
"line4_generic_pm10deg" "include/components/tdfb/line4_generic_pm10deg_48khz.conf"
"line4_28mm" "include/components/tdfb/line2_28mm_pm0_30_90deg_48khz.conf"
"line8_pass" "include/components/tdfb/line8_pass.conf"
}
}
mixer."1" {
Expand Down
Loading
Loading