Repository navigation
arm64: dts: apple: t6041-j614c-j616c: dcpext2 for a second USB-C display - #1684
Merged
RyanTheTide merged 3 commits intoNov 13, 2026
Merged
RyanTheTide merged 3 commits into
RyanTheTide merged 3 commits into
Conversation
Contributor
…ports dcpext1 only had a route to typec1 (left front), so a display on the left back or the right port stayed dark. Give it a route to every port, as dcpext1 has on the M4 Pro (t6040-j616s-extdisp-usbc.dtsi): the three ATC PHYs and display crossbars by name, a route@0-2 per port and the connectors' port@3 endpoints. The ATC0 and ATC2 crossbars were deleted from this board's tree while only HDMI used the display fabric; they are kept now. The crossbar state is 2 on every port, as on the M4 Pro. The display gate enables the ATC0-2 crossbars and the three routes with the rest of dcpext1's chain on the J614c and J616c. The J575c, which has only the typec1 route, keeps its own list. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Jos Dehaes <[email protected]>
The J614c and J616c have one USB-C display processor, dcpext1, so a second USB-C display stays dark while the first is up. The M4 Max has four external processors and iBoot preloads and starts them all (iop-dcpextN-nub pre-loaded 1, running 1). Describe dcpext2, its DARTs and its mailbox as on the J614s, where it drives HDMI, but as a USB-C processor with a route to each of the three ports, as aurora-silicon#1654 does for the J614s (crossbar state 4). The connectors' port@3 gets one endpoint per processor. As dcpext1 on this SoC, no PMP and no power domain is described. The display gate enables dcpext2's chain, without the crossbars that dcpext1's chain enables, once the boot loader has filled its firmware memory (aura#166 adds dcpext2 to t6041_exts). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Jos Dehaes <[email protected]>
Add dcpext2's chain to the T6041 test tree and check that it comes up next to dcpext0's and dcpext1's when the boot loader has filled its firmware memory, and stays off when it has not. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Jos Dehaes <[email protected]>
joske
force-pushed
the
pr/t6041-j614c-dcpext2-usbc
branch
from
November 12, 2026 22:20
97f6da1 to
a9b33e0
Compare
RyanTheTide
approved these changes
Nov 13, 2026
RyanTheTide
left a comment
Contributor
There was a problem hiding this comment.
Signed-off-by is in on all three commits and the changes are the reviewed ones. CI is green, including the new KUnit case. This goes in right after #1667.
RyanTheTide
merged commit Nov 13, 2026
bd9aa80
into
aurora-silicon:integration/aurora
8 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #1667 (USB-C DisplayPort on all three ports). This branch has #1667's commit; the last two commits are new. The loader side is aurora-silicon/aura#166, which adds dcpext2 to
t6041_exts. Without it, dcpext2's firmware memory stays a placeholder and the gate leaves the chain off.Problem
The J614c and J616c have one USB-C display processor, dcpext1. While one USB-C display is up, a second one stays dark on any port, in either orientation. It lights as soon as the first one is unplugged.
Change
The M4 Max has four external display processors. iBoot preloads and starts all of them: the live J614c ADT has
pre-loaded 1andrunning 1oniop-dcpext0..3-nub, with the same four segments.t6041-j616c-usbc-dcpext2.dtsi): the processor, its DARTs and its mailbox. On the J614c the ADT gives the same addresses and interrupts as the J614s's dcpext2 (t6040-j614s-extdisp-hdmi.dtsi): coproc0x606e00000, mailbox IRQs 1362-1365,dart-dcpext2/dart-dispext2at0x606340000/0x606300000with IRQ 1309, external-index 3, bandwidth agent 0x90 (apple,bw-scratch0x34000). Here it is a USB-C processor: all three ATC PHYs and crossbars by name, androute@0-2. The crossbar state is 4 (2 ×dp-switch-ufp-endpoint2 + port 0), as arm64: dts: apple: t6040-j614s: Type-C routes for dcpext2 (two USB-C displays) #1654 uses for the J614s. As for dcpext1 on this SoC, no PMP and no power domain is described.port@3of typec0-2 now has one endpoint per processor (@0dcpext1,@1dcpext2).dcp@606e00000, so this chain does nothing there.no_memoryalso checks the third one.Testing
J614c (MacBook Pro 14" M4 Max), os-fw 26.6.2. aura main (1.0.0b12) + aura#166. Kernel: integration/aurora fa59399 + #1667 + these commits, plus local test patches (#1466, speakers).
apple-display-gateon arm64 QEMU: 57/57. With the third chain taken out of the gate,gate_t6041_max_second_usbcandgate_t6041_max_no_memoryfail.🤖 Generated with Claude Code