Repository navigation
arm64: dts: apple: t8142-j815: add DisplayPort audio on dcpext0 and dcpext1 - #3641
Conversation
…cpext1 The J815 has the J813's two USB-C display engines with the same display ADMACs, control blocks and DISPEXT0/1_ADMA power domains: in the 27.0 device trees the J815's dp-audio1/2, admac-dispext0/1, admac-dispext0/1-ced-ssw and dart-dispext0/1-isoc nodes differ from the J813's only in their phandle numbers. Include the J813's DisplayPort audio fragment, as the J815 already includes its dcpext fragment, so both ports get an HDMI/DP audio card. Signed-off-by: Nick <nekreshen@yandex.ru>
|
Hardware row, J815 (MacBook Air 15" M5, DCP firmware 27.2), at
Regression: 0 failed units, 0 new kernel errors. Not tested yet: both ports at once, 44.1 kHz, DPMS with a stream, sleep with an active stream, a DisplayPort monitor. Marking ready for review. |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: HOLD at 7788b4d1
Blockers:
Host tests(46287879532) is failing at7788b4d1on stale-base failures unrelated to this DTS change (apple-scaler-recovery-testsandg17-output-fence-tests); rebase or merge currentmain(or re-run against currentmain) so all required CI checks pass green.
Checked:
arch/arm64/boot/dts/apple/t8142-j815.dts(+7/-0includingt8142-j813-dpaudio.dtsi),arch/arm64/boot/dts/apple/t8142-j813-dpaudio.dtsionmain,dt-checks(46287879545),pr-text(46287879989), and J815 hardware evidence (both USB-C ports, 48 kHz HDMI TV playback, unplug/replug, 0 failed units, 0 new kernel errors).- Verified
t8142-j813-dpaudio.dtsiis already onmainanddt-checkspassed cleanly (141 DTBs, 0 new warnings).
Evidence
Host testsrun46287879532failed strictly on pre-existing base tests (FAIL apple-scaler-recovery-tests,FAIL g17-output-fence-tests:AssertionError: ' fn member_done(': 2 matches), unrelated toarch/arm64/boot/dts/apple/t8142-j815.dts.- Once rebased/re-run green on current
main, this is ready to approve.
Signed-off-by: Nick <nekreshen@yandex.ru>
There was a problem hiding this comment.
Verdict: HOLD at 3f77d6a9
Blockers:
- Hosted
pull_requestCI workflows (Device tree checks,Host tests, andpr-text) arecompleted/action_requiredawaiting maintainer workflow approval for this fork PR; onlypr-readinesshas executed at3f77d6a9.
Checked:
- Clean merge of
main(42169a041546) into7788b4d140a3; diff inarch/arm64/boot/dts/apple/t8142-j815.dts(+7/-0includingt8142-j813-dpaudio.dtsi) is unchanged andt8142-j815.dtshad no intervening changes onmain, so the J815 dual-port playback row stands.
Evidence
- Workflow runs at
3f77d6a90c757fc9596d020627c68b7ebc8c21d3:pr-readiness(pull_request_target) succeeded;Device tree checks,Host tests, andpr-text(pull_request) arecompleted/action_required. - Ready to approve once fork CI workflows are approved and pass green at
3f77d6a9.
|
Merged current |
DjDeveloperr
left a comment
There was a problem hiding this comment.
At 3f77d6a only the J815 board opts into the existing J813 DP-audio description. I compared the board file with tested 7788b4d and its blob is identical. The J815 played 48 kHz audio on both ports without XRUNs. The test kernel also contained #3264 and #3692 for stream rate and period handling. Please land those fixes, or verify the same playback on the merge candidate, before enabling the board path.
There was a problem hiding this comment.
Verdict: MERGE at 3f77d6a90c75
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: - Clean merge of main (42169a041546) into 7788b4d140a3; diff in arch/arm64/boot/dts/apple/t8142-j815.dts (+7/-0 including t8142-j813-dpaudio.dtsi) is unchanged and t8142-j815.dts had no intervening changes on main, so the J815 dual-port playback row stands.
Follow-ups (not blocking): fork CI workflow approval
|
Merging at |
What: Enable DisplayPort/HDMI audio on both USB-C display engines of the J815 (MacBook Air 15" M5) by including the J813's
t8142-j813-dpaudio.dtsi(#3563), as the J815 already includest8142-j813-dcpext.dtsi. The J815 has the same display ADMACs, control blocks and DISPEXT0/1_ADMA power domains as the J813, so no driver change is needed.Tested: J815 (MacBook Air 15" M5, DCP firmware 27.2),
7788b4d140a3unchanged in the J815 candidatej815/nightly6(main 37a19f9 + open PRs, including #3264 and #3692 for the DP audio path): both display ADMACs bind and both cards come up (Apple USB-C DisplayPort,USBC/USBC_1); an HDMI TV behind a USB-C hub played 48 kHz stereo 24-bit audio from PipeWire (YouTube) on each port in turn, at the right speed and with no underruns (20 s each: 1 stream start, 0 XRUN, 48001/48003 frames/s, PipeWire errors 0); unplug and replug, and moving the hub between the ports, kept working. 0 failed units, 0 new kernel errors.apple-dt-check.shagainst the base: 141 DTBs, 0 new warnings; checkpatch --strict clean. Head3f77d6a90c75is that commit with currentmain(42169a0) merged in, with no conflicts and no change tot8142-j815.dtsfrommain, so the row stands (merge policy: update onto a newermain).Risk: two-way · J815 only. No J813 or J704 file changes, so their DTBs are the same as on
main.Not yet: both ports at once; 44.1 kHz; DPMS off/on with a stream; system sleep with an active DP audio stream; a DisplayPort monitor (only an HDMI TV behind a hub so far).
Details
arch/arm64/boot/dts/apple/t8142-j815.dts:#include "t8142-j813-dpaudio.dtsi"after the dcpext include.apple,t8142-dcpextalready starts the audio interface onAV_ENDPOINT(0x29) with the firmware-27 commands, andapple-admacbinds through theapple,t6050-display-admacfallback.dp-audio1feedsdcpext0(front port) anddp-audio2feedsdcpext1(rear port).admac-dispext0/1-controlfrom the board's own device tree, as on the J813.Evidence
dp-audio1/2,admac-dispext0/1,admac-dispext0/1-ced-sswanddart-dispext0/1-isocdiffer only in their phandle numbers (interrupt-parent,iommu-parent,dma-parent, the reset phandle).regandinterruptsvalues are identical.