Skip to content

topology, validator, ci: Sync topology updates from sof and add validator workflow - #4

Merged
lgirdwood merged 39 commits into
mainfrom
feat/sync-sof-topologies-and-validator
Nov 28, 2026
Merged

lgirdwood merged 39 commits into
mainfrom
feat/sync-sof-topologies-and-validator

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Sync all topology updates from thesofproject/sof (0b0592c19..817cefbbe) into sof-topologies with original Git authors, commit messages, and Signed-off-by: trailers preserved, and integrate the offline IPC4 topology validator + CI workflow:

Summary

  • Replayed 38 upstream commits from thesofproject/sof (0b0592c19..817cefbbe) covering:
    • validator/ binary parser, kernel token schema, L1–L4 rules, pytest suite, and TPLG_VALIDATE build-time integration (cmake/alsatplg.cmake, topology2/{development,production}/CMakeLists.txt)
    • topology2/ additions & fixes (FFmpeg encoder/decoder & BT transparent codec pipelines, UAOL deep-buffer/naming updates, HDA HDMI-in & RPL/SDCA/ACE3 targets, WebRTC AEC/AGC/NS format/DP updates, SDW LSB/xover fixes, SYMLINKS in development/CMakeLists.txt)
    • topology1/ updates (sof-acp_7_x_sdw_pdm.m4, sof-imx8mp-tlv320)
  • Validator CTest & GitHub Actions workflow:
    • Updated validator/tests/test_integration.py and validator/README.md for standalone sof-topologies layout.
    • Added validate_validator_suite to CTest in CMakeLists.txt and python3-pytest to .github/workflows/topology.yml.
    • Added .github/workflows/validator.yml running check_tokens_conf.py (advisory), validator unit + integration pytest suite, and full topology2 TPLG_VALIDATE=ON validation.

Local Verification

  • cmake --build ... --target packages (TPLG_VALIDATE=ON): 95 IPC3 + 244 IPC4 topologies built & validated, DEB/RPM/TGZ generated.
  • ctest --output-on-failure: 5/5 tests passed (validate_topology1_prod, validate_topology1_pcm_parse, validate_topology2_prod, validate_topology2_dev, validate_packages).
  • pytest -v validator/tests: 176 passed, 1 skipped (KERNEL_TREE not set).

ujfalusi and others added 30 commits November 28, 2026 18:26
The frontend PCMs of the UAOL topologies are named after the link they
run on, "UAOL0" and "UAOL1". What the user sees in aplay -l should say
what the PCM is for, not which link carries it: "UAOL" is the name of
Intel's link in the specifications and in the DAI names, the function is
USB audio offload.

Name the PCMs "USB Offload 0" and "USB Offload 1", with the deep buffers
following as "Deepbuffer USB Offload <n>" like "Deepbuffer HDA Analog"
does. This also pairs them by name with the kernel's "USB Offload <n>
Playback Route" / "USB Offload <n> Capture Route" controls and the "USB
Offload Jack", so that PCM, route control and jack of a stream share one
name and the number tells them apart. The mixer volume controls derive
their names from the PCM and follow along.

The DAI copiers and the backend DAI links keep their UAOL names: those
are the link and are matched by the machine driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Add the foundation for an offline validator of SOF IPC4 topology
binaries.

tplgparse/binary.py describes the ALSA topology binary format (ABI 5)
with construct. The record layouts are ported from sof-test
tools/tplgtool2.py, but the section walk mirrors soc_tplg_load() in
the kernel so that malformed input is reported as an issue with a file
offset instead of a parser exception. DAI and DAI link sections are
parsed too, and all values are kept as plain integers.

tplgparse/model.py provides a typed view of widgets, kcontrols,
routes, PCMs and links, with vendor tuples decoded by the type of the
vendor array they are in.

The Linux SOF driver is the reference for how a topology is read.
Instead of hand copying its token lists, schema/gen_kernel_tokens.py
extracts from a kernel tree the SOF_TKN_* IDs, the
struct sof_topology_token tables with their token types, the token
lists of tplg_ipc4_widget_ops, the DAI type names and the kcontrol
handler IDs into schema/kernel_tokens.py. With --check it reports drift
against a kernel tree.

tplgparse/kernel_engine.py emulates the kernel tuple engine
(sof_parse_token_sets(), sof_copy_tuples(), sof_update_ipc_object(),
sof_widget_parse_tokens()) on top of the generated tables. The kernel
does not always read tuples the way a topology means them: multiple
token sets are filled by occurrence count, parsing stops once enough
tokens are found and sof_copy_tuples() picks the element layout from
the expected token type, not from the vendor array type. Every value
read is recorded with its source offset so that checks can compare the
kernel view to the intended one.

kernel_tokens.py is generated from sof-dev at commit 5c16bd4ee077

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Add tplg_validate.py, which checks topology binaries against what the
Linux SOF driver does when loading them, so that problems are found
without the target hardware. Rules are grouped in layers:

 L1  binary structure as checked by sound/soc/soc-topology.c: headers,
     element sizes, NUL terminated names, widget types, enum items,
     TLV types and kcontrol handler binding
 L2  vendor tuples as read by the emulated SOF tuple engine: kernel
     parse errors, values read from the wrong tuple, malformed vendor
     arrays, unknown tokens, tuple types the kernel ignores, and audio
     format blocks versus NUM_INPUT/OUTPUT_AUDIO_FORMATS
 L3  IPC4 load and setup rules from topology.c and ipc4-topology.c:
     route endpoints, scheduler widgets, chain DMA, volatile controls
     in dynamic pipelines, audio formats, module UUIDs, DAI types, pin
     counts and bindings, volume and bytes controls, PCM to host copier
     binding, BE link configs and the manifest
 L4  PCM path walk and host copier format matching (advisory)

Each finding names the rule and the kernel function it follows, and
--list-rules prints them all for review against kernel changes.
Errors mean the kernel fails to load the topology or to use a PCM,
warnings are likely mistakes or failures that depend on runtime state.
The exit status is non-zero on errors, or on warnings with --werror.

known-issues.txt lists errors present in the current topologies, which
--waivers reports as warnings, so that the build can enforce the rules
for new problems while the existing ones are fixed.

schema/check_tokens_conf.py cross-checks topology2 tokens.conf and the
token_ref attributes of the classes against the kernel schema.

The --base option is available to check combinations of SDCA function
topologies. With function topologies the kernel loads several topology
files into the same component, and loads the feature topologies given
with the feature_topologies module parameter after them, in the given
order. Routes in a later file may refer to widgets of an earlier one.

The pytest suite builds small topologies with tests/tplgbuild.py and
has a passing and failing case for each rule. Integration tests build
real topology2 targets with alsatplg and, with KERNEL_TREE set, check
the token schema against a kernel tree.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
alsatplg accepts many topologies that the SOF driver rejects at load
time, e.g. it reports a route to an undefined widget but still exits
successfully. Such problems are usually only found on target hardware.

Run tools/topology/validator/tplg_validate.py after alsatplg for every
topology2 target. A validation error fails the target and deletes the
.tplg so that it is checked again on the next build. Errors listed in
validator/known-issues.txt are reported as warnings.

Validation is enabled by default with the TPLG_VALIDATE option and is
skipped with a warning when python3 with the construct module is not
available.

Document the validator and point to it from the topology READMEs.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Use the COMPR_DECODER_CORE_ID define instead of a hardcoded core_id 1 on
the ffmpeg_dec widget, size COMPR_FFMPEG_DEC_HEAP to 512 KiB to cover
the 64 KiB PCM staging buffer and decoder working set, and add the
sof-hda-generic-ffmpeg-opus-compr topology build target.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ffmpeg_dec component to the playback benchmark harness (HDA and
SoundWire) with DP scheduling and decoder stack/heap budgets so a
topology instantiating the module can be built and driven by testbench
or on target.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add compressed audio capture (encode) topology support for the FFmpeg
encoder widget (ffmpeg_enc):
- include/components/ffmpeg_enc.conf: encoder widget class sharing the
  ffmpeg_dec UUID with DAPM widget type 'encoder'.
- include/pipelines/cavs/compr-capture-ffmpeg.conf: DP encoder + aif_out
  host-copier capture pipeline.
- include/pipelines/cavs/mixout-capture.conf: standalone timer-scheduled
  mixout pipeline for cross-pipeline LL->DP capture fan-out.
- platform/intel/compr-capture-ffmpeg.conf & compr-default.conf:
  COMPR_FFMPEG_ENC capture PCM (id 51, pipeline id 91, mixout pipeline id
  93) and per-instance stack/heap sizing (64 KiB stack, 384 KiB heap).
- cavs-mixin-mixout-hda.conf & development/tplg-targets.cmake: mixin
  capture fan-out when COMPR_FFMPEG_ENC is enabled, plus
  sof-hda-generic-ffmpeg-mp3-enc-compr and
  sof-hda-generic-ffmpeg-aac-enc-compr development topology targets.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Extend webrtc_agc to accept 32 kHz and 48 kHz streams in addition to
8 kHz and 16 kHz. Downsample 32/48 kHz 10 ms frames to an anti-aliased
16 kHz signal via WebRtcSpl_DownsampleBy2 and
WebRtcSpl_Resample48khzTo16khz for Band 0 VAD and adaptive gain
analysis, while tracking full-rate 1 ms subframe peaks separately for
the overload limiter.

Interleave FIFO filling, 10 ms processing, and draining in chunks so
calls larger than 10 ms never overflow the framing FIFOs. Update the
webrtc-agc topology2 widget definition to list 8, 16, 32, and 48 kHz.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Configure the webrtc_aec LLEXT manifest (.domain_dp = 1), rimage TOML
(domain_types = "1"), and topology2 widget definition (scheduler_domain
"DP" with stack_bytes_requirement 16384) to run in the Data Processing
(DP) scheduling domain rather than on the 1 ms Low Latency (LL) thread.

Add webrtc_aec_is_ready_to_process() so the DP scheduler triggers
processing whenever a full 10 ms microphone capture frame is available
and output space is free, without blocking when the playback echo
reference stream is idle.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
…known-issues

Commit 0b0592c19 ("topology: Add sof-hda-generic-idisp-uaol") added
sof-hda-generic-idisp-uaol.tplg concurrently with commit bdd3d7c36
("tools: topology: validator: add validation rules and command line
tool"), which only listed sof-hda-generic-uaol for rule W004 (UAOL DAI
type not yet in the upstream kernel find_dai() table).

Broaden the pattern to sof-hda-generic*uaol so
sof-hda-generic-idisp-uaol.tplg also matches the W004 waiver in
top-level_default_CMake_target_ALL.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
The ALH DAI class defines "direction" as a string attribute with
token_ref "dai.word", but without a tuple_values mapping. As a result
the string values "playback"/"capture" end up verbatim in a word tuple.

Older alsa-lib converted such strings with strtoul() and silently
encoded them as 0 (so capture links were also encoded as 0). Since
alsa-lib commit c41be26af2d9 ("topology: use snd_config_get_llong() in
tplg_get_integer/unsigned()"), non-numeric strings are rejected and
the build of e.g. cavs-sdw.tplg fails with:

  ALSA lib data.c:866:(parse_tuple_set) [error.topology] tuple direction: Invalid argument

The direction tuple ends up in the BE link private data. The Linux SOF
driver has never parsed SOF_TKN_DAI_DIRECTION from link data (only from
DAI widget data), in neither the pre-5.19 sof_parse_token_sets() nor
the current sof_copy_tuples() based code, and both silently skip
unknown tokens. Changing the tuple type is thus safe for old and new
kernels.

Switch the token_ref to "dai.string" so the direction is passed as a
string tuple.

Link: alsa-project/alsa-lib@c41be26
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Add development topology targets for ALAC compress playback and
FLAC/ALAC compress capture on CAVS 2.5 and ACE 3.0.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add development topology targets for SBC, G.722, and aptX compress
playback and capture.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add an SDW_SPK_AEC_CAPTURE_PCM option that routes the speaker echo
reference to a webrtc-aec module instead of the echo reference host
PCM. The SoundWire DMIC capture from module-copier.41.0 and the speaker
echo reference are both downmixed to mono with micsel and resampled
from 48 kHz to 16 kHz with SRC before the AEC, so the AECm backend
cancels the echo of both speaker channels. The echo cancelled signal is
captured with a new mono 16 kHz "Microphone AEC Capture" PCM 14. The
AEC pins use 10 ms buffers to match the AEC processing block size.

Add the development target sof-ptl-rt713-l3-rt1320-l12-aec for testing.
The topologies without SDW_SPK_AEC_CAPTURE_PCM are binary identical.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
The default 24 KiB DP module heap is not enough for the AEC module
private data and the WebRTC echo canceller state. Request 256 KiB,
which covers the float AEC backend with margin.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Document the fixed HDA backend IDs assigned by the kernel machine driver
alongside the corresponding topology IDs and variables.

HDA topologies hard-code the analog BE ID, while iDisp, DMIC and UAOL
IDs are derived or supplied through topology variables. Recording both
sides makes mismatches visible when either the machine driver or
topology definitions change.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Advertise 16, 22.05, 24 and 32 kHz formats for compressed
jack & amp playback.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Naveen Manohar <naveen.m@intel.com>
Enable rx_slots=3 alongside tx_slots=3 on the 48 kHz 2-channel SSP2-BT
hardware configuration (hw_config.3) so full-duplex 48 kHz Bluetooth
SSP offload streams can capture and play back simultaneously.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Include SSP and Bluetooth offload definitions in sof-hda-generic.conf
when ADD_BT=true without altering existing non-BT topologies.

Add dedicated SSP2-BT offload topology targets (BT_PCM_ID=20,
BT_PCM_NAME=Bluetooth, ADD_BT=true) for ACE 1.5/2.0 and ACE 3.0 HDA
platforms (sof-hda-generic-ace1-bt, sof-hda-generic-ace3-bt,
sof-hda-generic-ace3-2ch-bt, sof-hda-generic-ace3-4ch-bt) as well as
ACE 3.0 / Wildcat Lake RT722 4ch SoundWire platforms
(sof-ptl-rt722-4ch-bt and sof-wcl-rt722-4ch-bt).

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the TLV320AIC3007 codec to the shared i.MX8 topology and build
sof-imx8mp-tlv320.tplg from it, for the PHYTEC phyBOARD-Pollux with
the PEB-AV-10 expansion board, where the codec is connected to SAI2.

sof-imx8-wm8960.m4 is the common i.MX8 topology despite its name: only
the stream name and the SAI clock setup depend on CODEC, as for wm8962
and wm8904, see commit 67fa702308dd ("topology: imx: Combine base
topology files for i.MX8MP and i.MX8").

Unlike the Wolfson codecs, the TLV320 is the clock consumer: the SAI
provides BCLK and the frame sync, and MCLK at 12.288 MHz. The DAI link
is named sai2-tlv320.

Also list wm8904 in the header, which was already supported.

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
The established naming of the Deep Buffer PCMs are:
'Deepbuffer' + "PCM name where the Deep Buffer is connected'

The only exception was the DMIC Deep Buffer.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Add the UAOL PCM IDs to HDA table and update the SDW names for
UAOL.

Align the Deep Buffer PCM names with how they are named to make
it easier to match with on device view.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
The ACP PDM capture pipeline (PCM 3, pipeline 6) used
pipe-passthrough-capture.m4, which exposes no capture controls. Switch it
to pipe-volume-switch-capture.m4 so the topology exposes
"<pipeline> Master Capture Volume" and "<pipeline> Master Capture Switch"
(for pipeline 6: "PGA6.0 6 Master Capture Switch" on the card).

The capture volume uses the existing 80-step TLV (-50 dB to +30 dB).

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
Remove the standalone DMIC WoV target. Its KPB secondary output declares
16 kHz while the connected host copier only declares 48 kHz input
formats, which F003 reports as incompatible.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Include the sample-type bits in the selector input and playback copier
input formats. These internal connections carry 32-bit LSB integer
samples, matching the DRC and crossover FIR outputs.

Leave the external SoundWire output format unchanged.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
…gateways

The generic benchmark provides its own playback and capture DAI
pipelines, but also instantiates the default component-benchmark DAI
gateways. The overlapping pipeline IDs and duplicate widget names cause
the wrong format declarations and pipeline ownership to be used.

Instantiate the default gateways only with HDA_CONFIG=none. Keep the
custom gateways for HDA_CONFIG=benchmark and document the distinction.
Verify analog playback and capture at 48 kHz in S16_LE, S24_LE and
S32_LE on a TGL HDA device with kernel 7.2.14. Both directions now run
instead of playback timing out and capture failing at pipeline start.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
…arks

MFCC and MFCC-mel benchmarks configure the host copiers and processing
modules for 16 kHz, but their HDA DAI copiers inherit 48 kHz formats.
F003 reports incompatible formats on both connections to the DAIs.

Use the configured HDA playback and capture rates for both sides of the
DAI copiers, and select 16 kHz for all six MFCC benchmark variants. Keep
48 kHz defaults for other component benchmarks. The copiers convert
sample formats, not sample rates, so the HDA link must also use 16 kHz.

Document the benchmark rate and feature-data output.

Verify three-second playback and capture streams at 16 kHz for each
variant in its native S16_LE, S24_LE or S32_LE format on a TGL HDA
device with kernel 7.2.14. This checks stream operation, not MFCC
algorithm correctness. Representative unaffected benchmark binaries
remain byte-identical.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
The standalone SRC-gain-mixin topology declares MSB integer samples on
internal connections whose peers declare LSB integer samples. F003
reports mismatches at both the playback and capture copiers.

Use LSB integer samples for the shared playback copier input and the
standalone capture copier output. Remove their explicit fmt_cfg
overrides so the base format classes encode the selected sample type.
Keep the SoundWire-facing formats as MSB integer.

These connections carry 32 valid bits in 32-bit containers, so sample
placement is unchanged. This corrects the format declarations rather
than an observed runtime audio failure.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
…cted rate

The HDA analog PCM advertises only 48 kHz in its rate list even when
its minimum and maximum rates are set to 96 kHz. The resulting empty
rate constraints prevent the stream from opening.

The playback gain, mixers and effects also retain 48 kHz defaults when
96 kHz is selected. Move the pre-mixer gain formats out of the mixer
control and configure the internal playback chain at the selected rate.
Allow the PCM rate list to include the configured rate while retaining
the fixed minimum and maximum constraints.

Keep the capture high-pass cutoff at 40 Hz for 96 kHz by using the
20 Hz / 48 kHz coefficients, which have the same normalized cutoff.

All nine 96 kHz development targets pass F003 with the validator in this
series. Playback and capture were tested on a TGL HDA device with S16_LE,
S24_LE and S32_LE at 96 kHz and with the production topology at 48 kHz.
The updated high-pass coefficients have not been tested on hardware.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
The nocodec WebRTC test topology declares a 16-bit capture DAI output
feeding a copier configured for 32-bit input. Its VAD also declares
48 kHz formats while the following noise suppressor uses 16 kHz.

Configure the DAI output as 32-bit, matching the first module copier.
Make the VAD format rate selectable, defaulting to 48 kHz, and set it
to 16 kHz in this test topology. This preserves the existing sample
format and channel choices while aligning the connected formats.

The rebuilt topology passes F003. Hardware testing requires an SSP
nocodec loopback setup and has not been performed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
ujfalusi and others added 9 commits November 28, 2026 18:27
Resolve route endpoints to their bound input and output pins and report
an error when declared format sets have no compatible format. Do not
infer queue allocation for unbound multi-pin endpoints or constrain
undeclared secondary copier outputs. Compare mixer outputs using the
shared format set selected by the kernel for all pins.

Check sample representations independently of compatibility
normalization and reject invalid sample types and bit depths. Treat
full-width 32-bit MSB and LSB integers as equivalent, and include
container depth when evaluating declared sample types. These checks
validate declared format compatibility, not the behavior of a
particular kernel version or runtime sample alignment.

Matching declarations do not simulate runtime selection, and
module-specific configuration can require further review. Cover pin
bindings, sample types, base topologies, and siggen echo reference with
regression tests.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Check that each declared copier output can be selected at the input
rate using fixed output parameters or preserved input parameters.
Require the resulting combination to be declared.

Report undeclared secondary outputs and incomplete formats as
unresolved. Document the selection contract and add focused tests.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Add HDMI IN support for generic hda topology.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Add topology for HDA codec + HDMI IN port 1 and 2.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
…nd Deepbuffer (PCM 36)

Add Bluetooth Transparent DSP codec topologies (lc3, msbc, g722, sb4) and
Deepbuffer Bluetooth playback offload (PCM 36, pipeline 204) alongside
low-latency Bluetooth (PCM 20) across ACE 3.0 SoundWire and HDA Generic:

- Configure asymmetric Transparent audio formats: 8/16 kHz mono S16_LE/
  S32_LE on the host FE pipelines paired with fixed 8 kHz mono S16_LE
  (64 kbps) on the SSP2-BT wire link, while preserving existing 8/16/48 kHz
  controller offload formats when BT_TRANSP_CODEC is 'none'.
- Add platform/intel/bt-deep-buffer.conf (100 ms L2 SRAM buffer, lp_mode=1,
  D0i3 compatible) feeding a shared S32_LE mixout -> gain -> [bt_codec.1]
  -> dai-copier (SSP2-BT) playback DAI pipeline.
- Generate -bt-{lc3,msbc,g722,sb4} production topologies for PTL, WCL, and
  HDA Generic ACE 3.0 targets.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Rename sof-hda-generic-ace3-hdmi-in-port12.tplg's nhlt bin name as
nhlt-sof-hda-generic-ace3-hdmi-in-port12.bin

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Apply the UAOL input formats and S32 internal formats to both
deep-buffer playback pipelines, and advertise the same PCM channel and
rate capabilities as normal playback.

Calculate the minimum host buffer size from the configured minimum rate
rather than a fixed 48 kHz, and update the mixer compatibility
description.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Add IPC4 topology for RPL with rt711 jack on link 2, rt1316 amps on
links 0 and 1 and rt714 DMIC on link 3, matching the existing IPC3
topology.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
…tions

Adapt the imported `validator/` integration test suite and documentation
for the standalone `sof-topologies` repository layout and add CI coverage:

- `validator/tests/test_integration.py`: Resolve `REPO_ROOT`,
  `alsatplg` (`ALSATPLG`, `ALSATPLG_CMD`, `SOF_WORKSPACE/tools/bin`,
  `../tools/bin`, `PATH`), `LD_LIBRARY_PATH` / `ALSA_TOPOLOGY_PLUGIN_DIR`,
  and ABI header source (`SOF_ABI_HEADER`, `SOF_ROOT`, `../sof`, or local
  `include/kernel/abi.h`).
- `validator/README.md`: Update repository-relative paths.
- `CMakeLists.txt` & `.github/workflows/topology.yml`: Install
  `python3-pytest` and register `validate_validator_suite` in CTest when
  `construct` and `pytest` are available.
- `.github/workflows/validator.yml`: Add dedicated GitHub Actions
  workflow running advisory `check_tokens_conf.py`, validator pytest
  unit & `alsatplg` integration tests, and full `topology2` build-time +
  CLI validation (`TPLG_VALIDATE=ON`).

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
@lgirdwood
lgirdwood force-pushed the feat/sync-sof-topologies-and-validator branch from 6c6045a to 3facd26 Compare November 28, 2026 19:32
@lgirdwood
lgirdwood merged commit 1b5e9b4 into main Nov 28, 2026
6 checks passed
@lgirdwood
lgirdwood deleted the feat/sync-sof-topologies-and-validator branch November 28, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants