Skip to content

arm64: dts: apple: t6041-j614c-j616c: USB-C DisplayPort on all three ports - #1667

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-usbc-dp-all-ports
Nov 13, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-usbc-dp-all-ports

Conversation

@joske

@joske joske commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Problem

On the J614c and J616c, dcpext1 only had a Type-C route to typec1 (left front). A DisplayPort display on the left back or right port stayed dark, and the port stayed USB-only.

Change

This gives dcpext1 a route to every port, as it already has on the M4 Pro (t6040-j616s-extdisp-usbc.dtsi):

  • dcpext1: all three ATC PHYs and display crossbars, by name (typec0-typec2). The route@0-2 routes, one per port, and the connectors' port@3 endpoints. mode-switch and orientation-switch on atcphy0 and atcphy2, as atcphy1 already had.
  • Crossbars: the board deleted the ATC0 and ATC2 crossbars (/delete-node/ &atcphy0_xbar, &atcphy2_xbar) when only HDMI used the display fabric. They are kept now. Crossbar state 2 on every port, as on the M4 Pro. The J614c ADT agrees: atcN-dpphy has dp-switch-dfp-endpoint N and the same dp-switch-parent on all three ports.
  • Display gate: the J614c/J616c USB-C chain now enables the ATC0-2 crossbars and the three routes. The J575c only has the typec1 route, so it gets its own list with the nodes it had before. Its DTB is unchanged.
  • KUnit: t6041-gate-test.dtso gets the new crossbars and routes, so gate_t6041_max_* checks the full chain.

Testing

J614c (MacBook Pro 14" M4 Max), os-fw 26.6.2, aura main at d5e180ba. The kernel is this branch on integration/aurora 9219565, plus #1466. Two iiyama monitors: one on a USB-C to DisplayPort cable (2560x1440), one on HDMI.

  • Left back (typec0): works, both plug orientations. This port was dark before.
  • Left front (typec1): works, as before.
  • Right (typec2): works, both plug orientations. This port was dark before.
  • HDMI and USB-C at the same time: works. dcpext0 drives HDMI and dcpext1 drives USB-C, next to the internal panel.
  • USB with the routes in place: a Samsung T7 SSD on the right port runs at 10 Gbps.
  • Not tested: the J616c (same .dtsi; its DTB builds, but I have no J616c), and two USB-C displays at once (that needs a second processor on the Type-C ports, as arm64: dts: apple: t6040-j614s: Type-C routes for dcpext2 (two USB-C displays) #1654 does for the J614s).
  • KUnit: not built or run here (no KUnit config, no QEMU on this machine). The test overlay compiles with dtc.

Seen on every port, the left front included, so not caused by this change: after a plug-in, the monitor drops HPD and raises it again once or twice, about 3.4 s apart ("DP partner reported its display gone and back"), before dcpext1 lights it. A display takes up to about 8 s to come up.

🤖 Generated with Claude Code

@RyanTheTide

Copy link
Copy Markdown
Contributor

@joske the routes and gate lists look right, and the J575c keeps its old chain. The commit has no Signed-off-by line; please add one (git commit --amend -s) and force-push, then this can merge, with #1684 after it.

…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]>

@RyanTheTide RyanTheTide 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.

Signed-off-by is in and the diff is unchanged from the reviewed version. CI is green.

@RyanTheTide
RyanTheTide merged commit 30778a3 into aurora-silicon:integration/aurora Nov 13, 2026
8 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.

2 participants