Skip to content

arm64: dts: apple: t6050: K boards: describe DisplayPort audio - #3456

Merged
RyanTheTide merged 3 commits into
mainfrom
feat/t6050-k-dpaudio
Nov 28, 2026
Merged

RyanTheTide merged 3 commits into
mainfrom
feat/t6050-k-dpaudio

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

What

External displays on the K boards (K114s/K114c/K116s/K116c, T6050) get no DisplayPort audio: the boards don't describe it. Their ADT has the same external display engines, display ADMACs and dp-audio nodes as the J714s (dcpext0..3, admac-dispext0..3, dp-audio0..4; checked on the K114s ADT), and dcpext0..2 are the engines that drive displays of their own (the routes in #3368). This includes the J714s DisplayPort audio description (t6050-j714s-dpaudio.dtsi) in the shared K114/K116 display file, as the K boards already do for the ANE.

Tested

Tested: K114s with #3368 + aura#535 (row: #3456 (comment)): with an Acer on the dock, the DP audio card's jack is on, its ELD names the monitor, and a silent S24_LE stream plays without errors. Build: DTBs for K114s/K116s/K114c/K116c build with W=1 and no new warnings; the K114s DTB carries audio-controller-1..3 (apple,t6050-dpaudio) and the admac-dispext0..2 control aliases. A K114s row needs external displays first (#3368 + aura#535 in the Stage 2).

Risk: one-way · K boards with an external display: DP audio devices appear and the display engines' ADMACs, DARTs and power domains are enabled; no change without an external display

Stacking

The #3368 branch is merged into this one (0abed70; both add a block at the same place in t6050-k114-k116-display.dtsi, both kept). After #3368 merges, this PR's diff is the DP audio include only.

Not yet

  • Audible playback on the monitor (the lab is silent today).
  • K116s row (axboe: needs a plain DP monitor).

The K boards' ADT describes the same external display engines, display
ADMACs and dp-audio nodes as the J714s (dcpext0..3, admac-dispext0..3,
dp-audio0..4), with dcpext0..2 driving displays of their own.  Include
the J714s DisplayPort audio description in the shared K114/K116 display
file, so that a display on a K board's USB-C ports gets its audio like
on the J714s.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

K114s row (T6050), firmware 27.2, with #3368 + aura#535 in the Stage 2 (same boot as the #3368 row). DTB = bridge d34a337 + #3368 + this commit (1957b93, the add/add context conflict with #3368 resolved by keeping both blocks).

  • audio-controller-1..3 bind to the display subsystem with dcpext0..2 (bound audio-controller-1 (ops dcpaud_comp_ops) and so on). dcpext3 has none, as on the J714s.
  • With the Acer QG270 S3 on dcpext0 (dock, left-front): ALSA card USBC (audio-controller-1) shows HDMI/DP Jack on, and its ELD names the monitor ("QG270 S3"). The PCM is S24_LE only and opens: a 2 s 48 kHz stereo stream of zeros plays to completion (aplay rc 0) with no DMA or DCP errors. The other two cards show jack off and an empty ELD.
  • Not done: audible playback through the monitor (the lab is silent today).

# Conflicts:
#	arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi
@RyanTheTide
RyanTheTide marked this pull request as ready for review November 28, 2026 03:37
@RyanTheTide
RyanTheTide requested review from a team as code owners November 28, 2026 03:37
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

@aurora-silicon/aurora-maintainers @aurora-silicon/core: ready for review. It's DT only (K boards include the J714s DisplayPort audio dtsi) and goes after #3368. We plan to merge after #3368 + the App review + CI, no earlier than an hour from now, unless someone objects. Revert: git revert 1957b934.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Verdict: MERGE at 0abed70030, after linux#3368 merges, and once dt-checks and host-tests finish green at this head.

Blockers: none.

Checked:

  • Own change (against main, the #3368 commits aside): t6050-k114-k116-display.dtsi includes t6050-j714s-dpaudio.dtsi. That adds dp-audio1..3 on dcpext0..2, each on its own engine's ADMAC (admac_dispextN) and ps_dispextN_adma, plus the three admac-dispextN-control aliases the loader uses to copy each ADMAC block's ADT tunables. Nothing is hard-coded on the K side.
  • ADT (live K114s): admac-dispext0..3, dcpext0..3 and dp-audio0..4 are all present, matching the J714s description the include assumes.
  • DTBs: main + #3368 vs main + this head: only K114c/K114s/K116c/K116s change, identically (123 lines each); the seven J boards are unchanged. The K114s audio-controller nodes are identical to the J714s's.
  • dtschema: locally, scripts/dtc/apple-dt-check.sh against the #3368 base gives 139 DTBs both sides, new: 0, removed: 0.
  • K114s row (with #3368 + aura#535): audio-controller-1..3 bind with dcpext0..2; with the Acer on dcpext0 the HDMI/DP Jack is on, the ELD names the monitor, and a silent 48 kHz S24_LE stream plays to completion with no DMA or DCP errors.
  • No attribution.

Not blocking, worth a line in Not yet: on the K116s, t6050-k116s-sleep.dtsi keeps dcpext0 route-less (deep sleep needs it bound), so dp-audio1 there is attached to an engine that never drives a display. It should just sit idle, but Axboe's K116s rows predate this include. One K116s boot plus one deep sleep with this DTB (audio controllers bound, nothing deferred) would close it.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

@axboe if you have a minute: one K116s boot with this include + a short deep sleep (no monitor needed) would cover the K116s side of the DP audio nodes (admac-dispext + dp-audio power domains enabled). Not blocking.

@axboe

axboe commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

K116s row (T6050, 16" M5 Pro OLED), firmware 27.2, no monitor: pass.

Kernel: main ff59991 + this PR (1957b93, with #3368 e4ecee6) + my other K116s commits, 7.3.0-m5pro-gb2bacf5446ff. Loader: aura main 76d2f9ae + aura#534 + aura#535, release build, ESP Stage 2.

  • audio-controller-1..3 bind with dcp@2b2e00000 (dcpext0), dcp@392e00000 and dcp@302e00000; ALSA shows DisplayPort, USBC and USBC_1 next to the speakers. All five DCPs bound, devices_deferred empty, 0 error-level kernel lines at boot.
  • The loader wrote 2 routes each on dcp@392e00000, dcp@302e00000 and dcp@306e00000; dcpext0 stays route-less through t6050-k116s-sleep.dtsi, as before, and its audio controller binds anyway.
  • One RTC deep sleep (15 s) resumed: all five DCPs and the three DP audio cards still there, no ADMAC or DCP audio errors, Wi-Fi back. The error-level lines after the wake are the usual DCP AFK and N1 PCIe set.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) blast:m5 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:one-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Merge readiness at 99bd149f: not ready yet

Check Detail
CI at head running running: dt-checks, host-tests, pr-text / pr-text
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head no no line with the head SHA 99bd149f, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text ok Risk: one-way · K boards with an external display: DP audio devices appear and the display engines' ADMACs, DARTs and power domains are enabled; no change without an external display Stacking The #3368 branch is merged into this one (0abed70; both add a block at the same place in t6050-k114-k116-display.dtsi, both kept). After #3368 merges, this PR's diff is the DP audio include only. Not yet - Audible playback on the monitor (the lab is silent today). - K116s row (axboe: needs a plain DP monitor).

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

satchlj
satchlj previously approved these changes Nov 28, 2026

@satchlj satchlj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed at 0abed70030b0: clean DTS include of t6050-j714s-dpaudio.dtsi in t6050-k114-k116-display.dtsi (matching the K114s ADT's dcpext0..3, admac-dispext0..3, and dp-audio0..4 layout), 0 dtschema warnings, and verified on K114s with external DP audio jack/ELD and silent S24_LE playback. Ready to merge once #3368 lands.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Verdict: MERGE at 99bd149f977f, once CI is green at this head. Same verdict as at 0abed700.

Checked: 99bd149f is a normal merge of main (9d7918bc, which contains #3368) into 0abed700, fixing the criss-cross conflict. Against main the PR is now just the 8-line t6050-j714s-dpaudio.dtsi include, and t6050-k114-k116-display.dtsi at this head is byte-identical to the one I approved. It merges cleanly with main. The K114s ELD/PCM row and Axboe's K116s row apply unchanged. No attribution.

@github-actions github-actions Bot removed the ci-failing A check failed at the PR head (bot) label Nov 28, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merging under the 6-point rule at 99bd149:

  1. aurora-silicon-review App approval from KREVIEW at this head (re-approved after the main merge that resolved the criss-cross with arm64: dts: apple: t6050: K boards: let the loader write the external display routes #3368; the PR diff is now the 8-line include only).
  2. CI green: dt-checks, host-tests, pr-text.
  3. Hardware row: K114s on Ryan's default (v4, same DTB nodes): DP audio cards bound for the Acer on the dock and the MSI behind the TB5 enclosure, both ELDs name their monitors, and direct ALSA playback to the Acer runs without errors. K116s row from axboe (no monitor, deep sleep pass).
  4. Regression: no change without an external display. The K boards with no monitor attached are unchanged (K116s row).
  5. No blocking review.
  6. Code owners pinged 03:37Z.

Known gap, tracked separately: PipeWire xruns on the DP audio node (PW-MONITOR-AUDIO). Direct ALSA is fine, so this is not caused by the DT.

Revert: git revert -m 1 <merge>. The K boards then lose their DisplayPort audio devices again.

@RyanTheTide
RyanTheTide merged commit c6bf499 into main Nov 28, 2026
4 of 6 checks passed
@RyanTheTide
RyanTheTide deleted the feat/t6050-k-dpaudio branch November 28, 2026 08:19
@axboe

axboe commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

@RyanTheTide a follow-up from the K116s daily with this merged, without Aurora's UCM (Debian, stock WirePlumber 0.5.19).

The three DP audio cards come up as plain stereo-fallback sinks at priority 1000, above my speaker graph, and the jack state isn't used. WirePlumber picked audio-controller-1 (dcpext0, card DisplayPort) as the default output after a PipeWire restart, and every stream stalled: spa.alsa: hw:8p: snd_pcm_start: No such device or address twice a second. On the K116s dcpext0 never drives a display (it stays route-less through t6050-k116s-sleep.dtsi), so that card can never play.

I've worked around it locally with a WirePlumber rule that drops the DP sinks to priority 100. But should a board where an engine has no route describe no DP audio on it, i.e. leave audio-controller-1 disabled on the K116s, rather than expose a card that can only fail? Anyone without the UCM profile would hit this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) blast:m5 Macs affected, from Merge risk (bot) door:one-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants