Skip to content

Commit 3a7ce9f

Browse files
committed
topology2: add IPC4 ABI manifest and SoundWire TFLM topology configuration
Include <abi.conf> in topology definitions to embed the required IPC4 ABI manifest section (ABI 3.29.1), resolving kernel topology ABI validation. Add sof-arl-cs42l43-l0-cs35l56-l23-tflm.conf to instantiate the real-time TFLM keyword detection pipeline connected to SoundWire DMIC capture on ARL. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1 parent 09a2cd3 commit 3a7ce9f

3 files changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Object.Base.manifest.1 {
2+
name "sof_manifest"
3+
Object.Base.data.1 {
4+
name "SOF ABI"
5+
bytes "0x03,0x00,0x1d,0x00,0x01,0x00"
6+
}
7+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<searchdir:include>
2+
<searchdir:include/common>
3+
<searchdir:include/components>
4+
<searchdir:include/dais>
5+
<searchdir:include/pipelines>
6+
<searchdir:include/pipelines/cavs>
7+
<searchdir:platform>
8+
<searchdir:platform/intel>
9+
10+
<vendor-token.conf>
11+
<tokens.conf>
12+
<virtual.conf>
13+
<abi.conf>
14+
<host-gateway-src-mfcc-tflm-capture.conf>
15+
16+
Define {
17+
PLATFORM "mtl"
18+
NUM_SDW_AMP_LINKS 2
19+
SDW_DMIC 1
20+
SDW_AMP_FEEDBACK false
21+
SDW_SPK_STREAM Playback-SmartAmp
22+
SDW_DMIC_STREAM Capture-SmartMic
23+
SDW_JACK_OUT_STREAM Playback-SimpleJack
24+
SDW_JACK_IN_STREAM Capture-SimpleJack
25+
SDW_DMIC_MODULE_COPIER_ID 41
26+
TFLM_CAPTURE_PIPELINE_ID 131
27+
}
28+
29+
<cavs-sdw.conf>
30+
31+
Object.Pipeline.host-gateway-src-mfcc-tflm-capture [
32+
{
33+
index $TFLM_CAPTURE_PIPELINE_ID
34+
}
35+
]
36+
37+
Object.Base.route [
38+
{
39+
source "module-copier.$SDW_DMIC_MODULE_COPIER_ID.0"
40+
sink "src.$TFLM_CAPTURE_PIPELINE_ID.1"
41+
}
42+
]

tools/topology/topology2/sof-hda-tflm.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<hda.conf>
3030
<hw_config_simple.conf>
3131
<manifest.conf>
32+
<abi.conf>
3233
<route.conf>
3334
<common_definitions.conf>
3435
<module-copier.conf>

0 commit comments

Comments
 (0)