Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
59b65ae
topology2: uaol: Name the PCMs "USB Offload <n>"
ujfalusi Nov 5, 2026
c8e227b
topology: validator: add topology binary parser and kernel token schema
kv2019i Oct 23, 2026
9429477
topology: validator: add validation rules and command line tool
kv2019i Oct 23, 2026
4b49e26
topology: cmake: validate topology2 binaries at build time
kv2019i Oct 23, 2026
f065930
topology2: compr-ffmpeg: use COMPR_DECODER_CORE_ID and add Opus target
lrgirdwo Nov 3, 2026
666a1cb
topology2: add ffmpeg_dec benchmark test topology
lrgirdwo Nov 3, 2026
30f4b8e
topology2: add compressed audio capture pipelines for FFmpeg encoders
lrgirdwo Nov 6, 2026
c272a88
audio: webrtc_agc: add 32 kHz and 48 kHz sample rate support
lrgirdwo Nov 7, 2026
94dffb5
audio: webrtc_aec: configure module for DP domain scheduling
lrgirdwo Nov 8, 2026
0c4eca3
tools: topology: validator: cover sof-hda-generic-idisp-uaol in W004 …
lrgirdwo Nov 7, 2026
7014e36
topology2: alh: pass DAI direction as a string tuple
kv2019i Nov 6, 2026
5c92358
topology2: add ALAC decode and FLAC/ALAC encode topologies
lrgirdwo Nov 10, 2026
9da2d65
topology2: add SBC, G.722, and aptX decode and encode topologies
lrgirdwo Nov 10, 2026
c0a8cc8
topology2: cavs-sdw: add mono WebRTC AEC on SoundWire DMIC capture
singalsu Nov 10, 2026
a73e73c
topology2: webrtc-aec: set DP heap size requirement
singalsu Nov 10, 2026
cf368b8
topology2: document HDA backend ID assignments
ujfalusi Nov 11, 2026
ba56295
topology2: Add low-rate compressed formats
naveen-manohar Nov 12, 2026
650ac71
topology2: bt-ssp-config: enable rx_slots on 48 kHz hw_config.3
lrgirdwo Nov 11, 2026
acbcf8c
topology2: hda-generic, ace3: add SSP2-BT offload topologies
lrgirdwo Nov 11, 2026
459c073
topology: imx: Add topology for i.MX8MP with TLV320 codec
andrejpicej Oct 27, 2026
8691f2d
topology2: intel: dmic-default: Align the name of DMIC deep buffer PCM
ujfalusi Nov 17, 2026
b607045
topology2: README: Update the PCM table for HDA and SDW
ujfalusi Nov 17, 2026
52460a0
tools: topology: use volume/switch capture pipeline for ACP PDM
DINESHKUMARK1 Nov 17, 2026
074824c
topology2: production: drop obsolete sof-dmic-4ch-wov target
ujfalusi Nov 10, 2026
cae4149
topology2: intel: sdw-amp-xover: fix internal crossover sample types
ujfalusi Nov 10, 2026
03aa90b
topology2: cavs-benchmark-hda: avoid duplicate generic benchmark DAI …
ujfalusi Nov 10, 2026
49deabf
topology2: cavs-benchmark-hda: use 16 kHz DAI formats for MFCC benchm…
ujfalusi Nov 10, 2026
d48e77a
topology2: sdw: use LSB formats on internal copier connections
ujfalusi Nov 11, 2026
d57aab9
topology2: cavs-mixin-mixout-hda: configure analog paths for the sele…
ujfalusi Nov 11, 2026
7d02c8c
topology2: webrtc: align capture pipeline formats
ujfalusi Nov 11, 2026
a425f06
topology: validator: check IPC4 pin format compatibility
ujfalusi Nov 11, 2026
207c6d9
topology: validator: check copier output selection
ujfalusi Nov 17, 2026
8475f2d
topology: sof-hda-generic: add hdmi in support
bardliao Nov 19, 2026
5dde584
topology: add sof-hda-generic-ace3-hdmi-in-port12 topology
bardliao Nov 19, 2026
1cfa06b
topology2: bt-generic, ace3, hda-generic: add BT Transparent codecs a…
lrgirdwo Nov 13, 2026
8d63743
topology2: align tplg and nhlt bin name
bardliao Nov 20, 2026
f5c7b89
topology2: uaol: align deep-buffer formats with normal playback
ujfalusi Nov 18, 2026
9c28dfb
topology2: cavs25: add sof-rpl-rt711-l2-rt1316-l01-rt714-l3
ujfalusi Nov 25, 2026
3facd26
validator, ci: Wire topology validator tests into CTest and GitHub Ac…
lrgirdwo Nov 28, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/topology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
sudo apt-get update
sudo apt-get -y install ninja-build cmake m4 \
automake autoconf libtool gettext libasound2-dev \
pkg-config python3-construct rpm cpio fakeroot
pkg-config python3-construct python3-pytest rpm cpio fakeroot

- name: Install autoconf 2.72
run: |
Expand Down
86 changes: 86 additions & 0 deletions .github/workflows/validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
name: SOF Topology Validator

# yamllint disable-line rule:truthy
on: [pull_request, push, workflow_dispatch, workflow_call]

permissions:
contents: read

concurrency:
group: "${{ github.workflow }}-${{ github.event_name }}-\
${{ github.event_name == 'pull_request' && github.ref || github.run_id }}"
cancel-in-progress: true

jobs:
validator-unit-and-schema:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
path: sof-topologies

- name: Install Python test dependencies
run: |
sudo apt-get update
sudo apt-get -y install python3-construct python3-pytest

- name: Cross-check topology2 tokens against kernel schema (advisory)
continue-on-error: true
run: |
python3 sof-topologies/validator/schema/check_tokens_conf.py -v

- name: Run validator unit tests
run: |
pytest -v sof-topologies/validator/tests

validator-integration:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
path: sof-topologies

- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get -y install ninja-build cmake m4 \
automake autoconf libtool gettext libasound2-dev \
pkg-config python3-construct python3-pytest

- name: Install autoconf 2.72
run: |
cd "${GITHUB_WORKSPACE}"
wget -q https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.gz
tar xf autoconf-2.72.tar.gz
cd autoconf-2.72
./configure --prefix=/usr/local
make -j"$(nproc)"
sudo make install
hash -r

- name: Build ALSA lib & utils (alsatplg)
run: |
SOF_WORKSPACE="${GITHUB_WORKSPACE}" ./sof-topologies/scripts/build-alsa-tools.sh

- name: Run validator pytest suite (with alsatplg)
env:
ALSATPLG: ${{ github.workspace }}/tools/bin/alsatplg
run: |
pytest -v sof-topologies/validator/tests

- name: Build & validate all topology2 binaries (TPLG_VALIDATE=ON)
run: |
cmake -GNinja -S "${GITHUB_WORKSPACE}/sof-topologies" \
-B "${GITHUB_WORKSPACE}/build-validate" \
-DALSATPLG_CMD="${GITHUB_WORKSPACE}/tools/bin/alsatplg" \
-DBUILD_TOPOLOGY1=OFF \
-DBUILD_TOPOLOGY2=ON \
-DBUILD_DEV_TOPOLOGIES=ON \
-DTPLG_VALIDATE=ON
cmake --build "${GITHUB_WORKSPACE}/build-validate" --target topologies2 -j"$(nproc)"
find "${GITHUB_WORKSPACE}/build-validate/topology2/production" \
"${GITHUB_WORKSPACE}/build-validate/topology2/development" \
-maxdepth 1 -name "*.tplg" -print0 \
| xargs -0 python3 "${GITHUB_WORKSPACE}/sof-topologies/validator/tplg_validate.py" \
--waivers "${GITHUB_WORKSPACE}/sof-topologies/validator/known-issues.txt"
19 changes: 19 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,25 @@ if(Python3_Interpreter_FOUND)
)
endif()
endif()
execute_process(
COMMAND ${Python3_EXECUTABLE} -c "import construct"
RESULT_VARIABLE _validator_construct_ok
OUTPUT_QUIET ERROR_QUIET
)
if(_validator_construct_ok EQUAL 0)
execute_process(
COMMAND ${Python3_EXECUTABLE} -m pytest --version
RESULT_VARIABLE _validator_pytest_ok
OUTPUT_QUIET ERROR_QUIET
)
if(_validator_pytest_ok EQUAL 0)
add_test(
NAME validate_validator_suite
COMMAND ${CMAKE_COMMAND} -E env "ALSATPLG=${ALSATPLG_CMD}"
${Python3_EXECUTABLE} -m pytest "${PROJECT_SOURCE_DIR}/validator/tests"
)
endif()
endif()
add_test(
NAME validate_packages
COMMAND ${Python3_EXECUTABLE} "${PROJECT_SOURCE_DIR}/tools/validate-package.py"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ALSA topology files describe the audio DSP graph (pipelines, widgets, routes, DA
| :--- | :--- |
| [`topology1/`](topology1/README.md) | Legacy (v1) `m4`-based IPC3 topology sources (`i.MX8`, `i.MX8MP`, `i.MX8ULP`, `i.MX93`, `i.MX95`, `MediaTek MT8186/8188/8195/8196/8365`, `AMD ACP`, `CAVS nocodec`) |
| [`topology2/`](topology2/README.md) | Class-based (v2) `alsatplg -p` IPC4 & IPC3 topology sources (`Intel CAVS 2.5`, `ACE 1.x/2.x/3.x/4.x`, `HDA generic`, `SDCA generic`, `i.MX8`, `CHT`, and `sof-testbench4` development/benchmark graphs) |
| [`validator/`](validator/README.md) | Offline IPC4 topology binary validator and kernel token schema checker (`tplg_validate.py`) |
| [`test/topology/`](test/topology/) | Automated component, SSP, and DMIC test topology matrix (`tplg-build.sh`) |
| [`include/kernel/abi.h`](include/kernel/abi.h) | Standalone SOF ABI version header used when generating topology manifests |
| [`tools/`](tools/) | Topology developer tools: [`tplgtool2.py`](tools/tplgtool2.py) (binary `.tplg` parser/graph dumper) and [`pretty-macro.sh`](tools/pretty-macro.sh) |
Expand Down
46 changes: 46 additions & 0 deletions cmake/alsatplg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,34 @@ if(NOT ALSATPLG_CMD)
set(ALSATPLG_CMD "alsatplg")
endif()

# Check every topology2 binary like the Linux SOF driver would when
# loading it, see validator/README.md. Errors fail the build, warnings
# are only counted. Needs the python3 construct module.
option(TPLG_VALIDATE "Validate topology2 binaries after building them" ON)
set(TPLG_VALIDATOR "${PROJECT_SOURCE_DIR}/validator/tplg_validate.py")
set(TPLG_VALIDATE_WAIVERS "${PROJECT_SOURCE_DIR}/validator/known-issues.txt")
set(TPLG_VALIDATE_ENABLED FALSE)
if(TPLG_VALIDATE)
find_package(Python3 COMPONENTS Interpreter)
if(Python3_Interpreter_FOUND)
execute_process(COMMAND ${Python3_EXECUTABLE} -c "import construct"
RESULT_VARIABLE construct_status OUTPUT_QUIET ERROR_QUIET)
endif()
if(Python3_Interpreter_FOUND AND construct_status EQUAL 0)
set(TPLG_VALIDATE_ENABLED TRUE)
message(STATUS "topology validation: enabled")
# recheck the binaries when the rules, the kernel schema or the
# waivers change
file(GLOB_RECURSE TPLG_VALIDATE_DEPENDS CONFIGURE_DEPENDS
"${PROJECT_SOURCE_DIR}/validator/*.py")
list(FILTER TPLG_VALIDATE_DEPENDS EXCLUDE REGEX "/tests/")
list(APPEND TPLG_VALIDATE_DEPENDS ${TPLG_VALIDATE_WAIVERS})
else()
message(WARNING "topology validation skipped: python3 with the construct "
"module not found (install python3-construct or set -DTPLG_VALIDATE=OFF)")
endif()
endif()

get_filename_component(_alsatplg_bin_dir "${ALSATPLG_CMD}" DIRECTORY)
if(_alsatplg_bin_dir AND EXISTS "${_alsatplg_bin_dir}/../lib")
get_filename_component(SOF_ALSA_LIB_DIR "${_alsatplg_bin_dir}/../lib" ABSOLUTE)
Expand Down Expand Up @@ -131,4 +159,22 @@ macro(add_alsatplg2_command conf_header conf_target input_name output_name inclu
-I ${include_path} -D "'${defines}'" -p -c ${output_name}.conf -o ${output_name}.tplg
${TPLG_USES_TERMINAL}
)

# Files the topology target must depend on, for the callers
set(tplg2_outputs ${output_name}.tplg)

# Validate in a separate command, so that a change to the validator
# or the waivers rechecks the binary without rebuilding it. A failed
# check leaves no stamp file, so the check is repeated next time.
if (TPLG_VALIDATE_ENABLED)
add_custom_command(
OUTPUT ${output_name}.tplg.validated
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${output_name}.tplg ${TPLG_VALIDATE_DEPENDS}
COMMAND ${Python3_EXECUTABLE} ${TPLG_VALIDATOR} --quiet
--waivers ${TPLG_VALIDATE_WAIVERS} ${output_name}.tplg
COMMAND ${CMAKE_COMMAND} -E touch ${output_name}.tplg.validated
${TPLG_USES_TERMINAL}
)
list(APPEND tplg2_outputs ${output_name}.tplg.validated)
endif()
endmacro()
1 change: 1 addition & 0 deletions topology1/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ set(TPLGS
"sof-imx8-wm8960\;sof-imx8mp-eap-wm8960\;-DCODEC=wm8960\;-DRATE=48000\;-DPPROC=eap\;-DSAI_INDEX=3"
"sof-imx8-wm8960\;sof-imx8mp-wm8904\;-DCODEC=wm8904\;-DRATE=44100\;-DPPROC=volume\;-DSAI_INDEX=3"
"sof-imx8-wm8960\;sof-imx8mp-wm8962\;-DCODEC=wm8962\;-DRATE=48000\;-DPPROC=volume\;-DSAI_INDEX=3"
"sof-imx8-wm8960\;sof-imx8mp-tlv320\;-DCODEC=tlv320\;-DRATE=48000\;-DPPROC=volume\;-DSAI_INDEX=2"
"sof-imx8-wm8960\;sof-imx8mp-eq-iir-wm8960\;-DCODEC=wm8960\;-DRATE=48000\;-DPPROC=eq-iir-volume\;-DSAI_INDEX=3"
"sof-imx8-wm8960\;sof-imx8mp-eq-iir-wm8962\;-DCODEC=wm8962\;-DRATE=48000\;-DPPROC=eq-iir-volume\;-DSAI_INDEX=3"
"sof-imx8-wm8960\;sof-imx8mp-eq-fir-wm8960\;-DCODEC=wm8960\;-DRATE=48000\;-DPPROC=eq-fir-volume\;-DSAI_INDEX=3"
Expand Down
5 changes: 4 additions & 1 deletion topology1/sof-acp_7_x_sdw_pdm.m4
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ PCM_PLAYBACK_ADD(ACP-SW0-PIN4-Playback-SPK, 2, PIPELINE_PCM_2)
#/**********************************************************************************/
# Capture pipeline 6 on PCM 3 using max 2 channels of s32le.
# DAI index PDM_INDEX (0 = PDM0, 1 = PDM1), BE acp-dmic-codec, DAI link id 5.
PIPELINE_PCM_ADD(sof/pipe-passthrough-capture.m4,
# Uses the volume/switch pipeline so the "Master Capture Switch" kcontrol can
# mute the PDM capture stream from user-space (amixer) without stopping the
# DMA, avoiding boot/transient noise being recorded.
PIPELINE_PCM_ADD(sof/pipe-volume-switch-capture.m4,
6, 3, 2, s32le,
2000, 0, 0,
PDM_RATE, PDM_RATE, PDM_RATE)
Expand Down
9 changes: 8 additions & 1 deletion topology1/sof-imx8-wm8960.m4
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Topology for i.MX8QM/i.MX8QXP/i.MX8MP board with 'CODEC' codec
#
# CODEC: wm8960, wm8962
# CODEC: wm8960, wm8962, wm8904, tlv320 (tlv320aic3007)
#

# Include topology builder
Expand Down Expand Up @@ -57,6 +57,7 @@ define(`STREAM_NAME',
`ifelse(CODEC, `wm8960', `-wm8960-hifi',
CODEC, `wm8904', `-wm8904-hifi',
CODEC, `wm8962', `-wm8962',
CODEC, `tlv320', `-tlv320',
`fatal_error(`Codec not supported.')')')

# define DAI BE dai_link name
Expand Down Expand Up @@ -108,4 +109,10 @@ ifelse(
SAI_CLOCK(fsync, RATE, codec_provider),
SAI_TDM(2, 32, 3, 3),
SAI_CONFIG_DATA(SAI, SAI_INDEX, 0)))',
CODEC, `tlv320', `
SAI_CONFIG(I2S, SAI_CLOCK(mclk, 12288000, codec_mclk_in),
SAI_CLOCK(bclk, 3072000, codec_consumer),
SAI_CLOCK(fsync, RATE, codec_consumer),
SAI_TDM(2, 32, 3, 3),
SAI_CONFIG_DATA(SAI, SAI_INDEX, 0)))',
)
73 changes: 65 additions & 8 deletions topology2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ Topology v2 introduces an object-oriented pre-processing layer directly into the
Building topologies requires `alsatplg` version 1.2.7 or later. The version check is
enforced in `CMakeLists.txt` at configure time.

### HDA benchmarks

The generic HDA benchmark (`BENCH_CONFIG=benchmark,HDA_CONFIG=benchmark`)
provides its own DAI pipelines. The default component-benchmark DAI gateways
are only instantiated with `HDA_CONFIG=none` to avoid duplicate widget names
and overlapping pipeline IDs.

The MFCC and MFCC-mel HDA benchmarks use 16 kHz throughout, including the HDA
link. Their copiers convert sample formats, not sample rates. Use 16 kHz when
running these benchmarks; MFCC output carries feature data, not listenable
audio.

The HDA mix topology uses a 40 Hz capture high-pass at both 48 kHz and
96 kHz. At 96 kHz it reuses the 20 Hz / 48 kHz coefficients, which have
the same normalized cutoff.

## Key Advantages

- **Object-Oriented Syntax**: Topology v2 allows for the definition of classes (`Class.Widget`, `Class.Pipeline`) and object instantiation, making the topology files much easier to read, maintain, and extend.
Expand Down Expand Up @@ -143,6 +159,14 @@ To build a specific topology target:
make sof-lnl-sdw-cs42l43-l0-cs35l56-l12
```

Each built binary is checked by the [topology validator](../validator/README.md), which repeats
the checks the Linux SOF driver does when loading a topology. A validation error fails the
build of that topology. To check a binary by hand, for example to see warnings too:

```bash
validator/tplg_validate.py build/topology2/production/sof-mtl-rt711-4ch.tplg
```

## Best Practices for Adding New Topology Definitions

### Topology Structure
Expand Down Expand Up @@ -242,13 +266,14 @@ default ID ranges for the same endpoint types.
| Jack Echo Ref | 11 | `SDW_JACK_ECHO_REF_PCM_ID` |
| Speaker Echo Ref | 12 | `SDW_SPK_ECHO_REF_PCM_ID` |
| Bluetooth | 2 or 20 | `BT_PCM_ID` |
| USB Audio Offload (UAOL0) | 21 | `UAOL_PCM_ID` |
| USB Audio Offload (UAOL1) | 22 | `UAOL_PCM1_ID` |
| Deepbuffer UAOL0 | 23 | `UAOL_DB_PCM_ID` |
| Deepbuffer UAOL1 | 24 | `UAOL_DB1_PCM_ID` |
| Deep Buffer (Jack) | 31 | `DEEP_BUFFER_PCM_ID` |
| Deep Buffer (Speaker) | 35 | `DEEP_BUFFER_PCM_ID_2` |
| DMIC Deep Buffer | 46 | `DMIC0_DEEP_BUFFER_PCM_ID` |
| USB Offload 0 (playback/capture) | 21 | `UAOL_PCM_ID` |
| USB Offload 1 (playback/capture) | 22 | `UAOL_PCM1_ID` |
| Deepbuffer USB Offload 0 | 23 | `UAOL_DB_PCM_ID` |
| Deepbuffer USB Offload 1 | 24 | `UAOL_DB1_PCM_ID` |
| Deepbuffer Jack Out | 31 | `DEEP_BUFFER_PCM_ID` |
| Deepbuffer Speaker | 35 | `DEEP_BUFFER_PCM_ID_2` |
| Deepbuffer Bluetooth | 36 | `BT_DEEP_BUFFER_PCM_ID` |
| Deepbuffer DMIC | 46 | `DMIC0_DEEP_BUFFER_PCM_ID` |
| Compress Jack Out | 50 | `COMPR_PCM_ID` |
| Compress Speaker | 52 | `COMPR_2_PCM_ID` |

Expand All @@ -265,9 +290,38 @@ default ID ranges for the same endpoint types.
| HDMI 2 | 4 | `HDMI2_PCM_ID` |
| HDMI 3 | 5 | `HDMI3_PCM_ID` |
| DMIC0 | 6 | `DMIC0_PCM_ID` |
| Deep Buffer | 31 | `DEEP_BUFFER_PCM_ID` |
| Bluetooth | 20 | `BT_PCM_ID` |
| USB Offload 0 (playback/capture) | 21 | `UAOL_PCM_ID` |
| USB Offload 1 (playback/capture) | 22 | `UAOL_PCM1_ID` |
| Deepbuffer USB Offload 0 | 23 | `UAOL_DB_PCM_ID` |
| Deepbuffer USB Offload 1 | 24 | `UAOL_DB1_PCM_ID` |
| Deepbuffer HDA Analog | 31 | `DEEP_BUFFER_PCM_ID` |
| Deepbuffer Bluetooth | 36 | `BT_DEEP_BUFFER_PCM_ID` |
| Compress HDA Analog | 50 | `COMPR_PCM_ID` |

**Intel HDA Backend DAI Link IDs:**

These IDs match the fixed backend DAI-link IDs defined by the kernel machine
driver. They are independent of PCM IDs and pipeline indexes. The kernel defines
base IDs for iDisp HDMI, HDA, and UAOL. The HDA helper increments the iDisp and
HDA base IDs when it creates additional links; UAOL stream backends also use
consecutive IDs.

| Backend | DAI Link ID | Kernel Define | Topology Variable |
|---|---:|---|---|
| iDisp HDMI 1 | 1 | `IDISP_HDMI_BE_ID` | `HDMI1_ID` |
| iDisp HDMI 2 | 2 | `IDISP_HDMI_BE_ID + 1` | `HDMI2_ID` |
| iDisp HDMI 3 | 3 | `IDISP_HDMI_BE_ID + 2` | `HDMI3_ID` |
| HDA Analog | 4 | `HDA_BE_ID` | Hard-coded as `id 4` |
| HDA Digital | 5 | `HDA_BE_ID + 1` | — |
| DMIC01 | 6 | `DMIC01_BE_ID` | `DMIC0_ID` |
| DMIC 16 kHz | 7 | `DMIC16K_BE_ID` | `DMIC1_ID` |
| Bluetooth Offload | 8 | `BT_OFFLOAD_BE_ID` | Not used by HDA generic |
| UAOL Play0 | 9 | `UAOL_BE_ID` | `UAOL_PB_BE_ID` |
| UAOL Cap0 | 10 | `UAOL_BE_ID + 1` | `UAOL_CP_BE_ID` |
| UAOL Play1 | 11 | `UAOL_BE_ID + 2` | `UAOL_PB1_BE_ID` |
| UAOL Cap1 | 12 | `UAOL_BE_ID + 3` | `UAOL_CP1_BE_ID` |

Key rules:

* PCM ID 0 is always the primary playback endpoint
Expand Down Expand Up @@ -305,6 +359,9 @@ is at N1 (50/51, 60/61, 70/71, 80/81).
| HDMI 4 Host / DAI | 80 / 81 | `HDMI4_HOST_PIPELINE_ID` / `HDMI4_DAI_PIPELINE_ID` |
| Compress Jack / Speaker | 90 / 92 | `COMPR_PIPELINE_ID` / `COMPR_2_PIPELINE_ID` |
| PCH DMIC0 Host / DAI | 100 / 101 | `DMIC0_HOST_PIPELINE_ID` / `DMIC0_DAI_PIPELINE_ID` |
| Bluetooth Playback Host / DAI | 200 / 201 | `BT_PB_HOST_PIPELINE_ID` / `BT_PB_DAI_PIPELINE_ID` |
| Bluetooth Capture Host / DAI | 202 / 203 | `BT_CP_HOST_PIPELINE_ID` / `BT_CP_DAI_PIPELINE_ID` |
| Bluetooth Deepbuffer | 204 | `BT_DEEP_BUFFER_PIPELINE_ID` |
| UAOL0 Playback Host / DAI | 210 / 211 | `UAOL_PB_HOST_PIPELINE_ID` / `UAOL_PB_DAI_PIPELINE_ID` |
| UAOL0 Capture Host / DAI | 212 / 213 | `UAOL_CP_HOST_PIPELINE_ID` / `UAOL_CP_DAI_PIPELINE_ID` |
| UAOL0 Deepbuffer | 214 | `UAOL_DB_PIPELINE_ID` |
Expand Down
Loading
Loading