Repository navigation
arm64: dts: apple: t6050: K boards: describe DisplayPort audio - #3456
Conversation
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>
|
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).
|
# Conflicts: # arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi
|
@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: |
There was a problem hiding this comment.
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.dtsiincludest6050-j714s-dpaudio.dtsi. That adds dp-audio1..3 on dcpext0..2, each on its own engine's ADMAC (admac_dispextN) andps_dispextN_adma, plus the threeadmac-dispextN-controlaliases 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..3anddp-audio0..4are 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.shagainst 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 Jackis 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.
|
@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. |
|
K116s row (T6050, 16" M5 Pro OLED), firmware 27.2, no monitor: pass. Kernel:
|
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
satchlj
left a comment
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
|
Merging under the 6-point rule at 99bd149:
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: |
|
@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 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. |
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