Skip to content

topology2: ipc3: add Cherry Trail RT5677 topology - #11326

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
Yoga-Book:submission/cht-rt5677-topology2-main-v1
Oct 23, 2026
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
Yoga-Book:submission/cht-rt5677-topology2-main-v1

Conversation

@MaurizioCasciano

Copy link
Copy Markdown
Contributor

Forward-port #11129 to main, superseding #11279.

#11129 was merged into stable-v2.15 before the change reached main. This
uses #11279 as the forward-port baseline and incorporates its review feedback:

  • the topology addition and stereo slot-mask correction are squashed so the
    new topology builds correctly from the initial commit;
  • the unrelated verify-topology.py addition is left for a follow-up;
  • the README documents IPC3 target handling generically rather than presenting
    it as a device-specific platform override; and
  • the IPC3 target list remains separate from the IPC4/ACE production targets.

The topology keeps the four-slot, 25-bit SSP2 frame required by the machine
driver while activating slots 0 and 1 (0x3) for the stereo stream.

Validation:

  • cmake --build tools/build_tools --target topology2_prod_ipc3_sof-cht-rt5677 -- -j2
  • compiled-artifact contract verification: PASS
  • generated sof-cht-rt5677.tplg SHA-256:
    746962d80115e3b9b0b2fbe44673b4e3acef5f06f7914baf235a5a652e8be09c
  • the artifact is byte-identical to the version previously tested on a Lenovo
    Yoga Book YB1-X91L with PCM0 playback/capture and PCM1 deep-buffer playback

Related: #11129, #11279

Copilot AI balanced review requested due to automatic review settings October 20, 2026 21:03
@sofci

sofci commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

reply test this please to run this test once

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking issues were identified, and the reported artifact and hardware validation support the topology contracts and isolated IPC3 build paths.

No open issues 🎉

What changed in this PR

Forward-ports the Cherry Trail RT5677 IPC3 topology to main, preserving the tested stereo configuration and keeping IPC3 artifacts separate from IPC4.

Changes:

  • Adds playback, capture, and deep-buffer support with two active slots in the four-slot SSP2 frame.
  • Introduces reusable IPC3 pipeline and component definitions.
  • Adds separate IPC3 build, deployment, and documentation support.

Paths below are relative to tools/topology/topology2/.

File Description
README.md Documents IPC3 target registration and builds.
production/​tplg-targets-ipc3.cmake Registers the RT5677 target.
production/​CMakeLists.txt Builds IPC3 targets separately.
platform/​intel/​cht-hw-config.conf Defines Cherry Trail SSP hardware attributes.
include/​pipelines/​ipc3/​volume-playback.conf Adds host volume playback.
include/​pipelines/​ipc3/​volume-dai-capture.conf Adds combined DAI-to-host capture.
include/​pipelines/​ipc3/​pipeline-common.conf Defines shared IPC3 pipeline attributes.
include/​pipelines/​ipc3/​mixer-volume-dai-playback.conf Adds mixed backend playback.
include/​components/​widget-common.conf Adds optional IPC3 period-count tokens.
include/​components/​ipc3/​mixer.conf Defines the IPC3 mixer widget.
include/​components/​buffer.conf Adds a Cherry Trail-compatible memory capability.
CMakeLists.txt Separates IPC3 ABI generation and deployment.
cht-rt5677.conf Defines board pipelines, PCM capabilities, and SSP2 configuration.

Review effort: Balanced

@MaurizioCasciano
MaurizioCasciano force-pushed the submission/cht-rt5677-topology2-main-v1 branch from 173d64b to 05d3e4c Compare October 20, 2026 21:12
@MaurizioCasciano

Copy link
Copy Markdown
Contributor Author

@kv2019i, could you please review this cleaned-up main forward-port? It follows your #11279 handoff and addresses the review comments raised there.

@kv2019i
kv2019i requested review from lgirdwood and ujfalusi October 21, 2026 06:48
@@ -7,9 +7,11 @@ add_custom_target(topologies2 ALL
# Create directory structure to be provided for deployment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MaurizioCasciano Thanks for the new PR! Can you check the git commit message formatting? We use Linux kernel style formatting (wrap lines at 72 chars). Rest looks good.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 050cf8e. The commit message is now wrapped at 72 columns; the source tree is unchanged. Thanks!

Add topology2 support for generating and deploying IPC3 topology files
alongside the existing IPC4 production set.

Describe the Yoga Book RT5677 SSP2 playback, capture, low-latency and
deep-buffer paths while preserving the Cherry Trail memory, scheduler,
and hardware configuration required by the legacy IPC3 firmware. Keep
the four-slot, 25-bit frame geometry but activate only slots 0 and 1 for
the stereo stream.

The generated topology is byte-identical to the artifact validated on a
Lenovo Yoga Book YB1-X91L with PCM0 playback and capture in S16_LE,
S24_LE and S32_LE at 48 kHz stereo, plus PCM1 deep-buffer playback.

Signed-off-by: Maurizio Casciano <mauriziocasciano7@gmail.com>
@MaurizioCasciano
MaurizioCasciano force-pushed the submission/cht-rt5677-topology2-main-v1 branch from 05d3e4c to 050cf8e Compare October 21, 2026 07:27
@lgirdwood

Copy link
Copy Markdown
Member

ipc3 and topology not tested by internal ci

@lgirdwood
lgirdwood merged commit 5c4e82e into thesofproject:main Oct 23, 2026
40 of 41 checks passed
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.

5 participants