Repository navigation
arm64: dts: apple: t8132-j713-j715: DisplayPort alt mode on both USB-C ports - #2807
RyanTheTide wants to merge 1 commit into
Conversation
…C ports The MacBook Air M4's two USB-C ports are ATC0 and ATC1 with their display crossbars, the same PHYs and routes as the J604's left ports, where DP alt mode runs since the T8132 PHY gained it (apple,dp-alt-mode). The Air DT still said the PHYs had no DP alt mode, a note from before that support, so a USB-C monitor or a USB-C to HDMI adapter got no picture unless it was a USB4/Thunderbolt display. Mark both PHYs. The dcpext routes, their boot-loader gate and the tunnel path are unchanged. Not tested on hardware; needs a J713/J715 run with a USB-C (non-TB) monitor on each port. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
J715 row for this change (MacBook Air 15-inch, M4, Mac16,13). I tested it as #2246, whose DT change is the same as this head's ( Build
Result: DP alt mode works on both ports. Each run is one boot.
Modes on one port, each set from Hyprland and shown on the monitor:
Failed units and kernel errors: the same two local services and known errors as in my other rows. Nothing new. One finding outside this PR: a sink mode above 3840x2160 stays black. This monitor prefers 3840x2400, and with it the screen stays black: The monitor shows its own resolution banner, so the link and timing are set. Hyprland counts the output as enabled, but every frame is refused.
Not covered: s2idle with the display coming back, a USB-C to HDMI adapter, and the USB4 tunnel path. The monitor reported no make or model to userspace. That fits this kernel, which predates "drm: apple: t8132: publish the sink's EDID on external outputs". |
Replaces #2246 (same changes, commit trailers fixed, on the current integration/aurora).
Problem. The MacBook Air M4 (J713/J715) has two USB-C ports on ATC0/ATC1, each with its display crossbar, wired like the J604's left ports. DP alt mode already runs there through the T8132 PHY support (
apple,dp-alt-modeindrivers/phy/apple/atc.c). The Air DT still has a note from before that support, saying these PHYs have no DP alt mode. So a plain USB-C monitor or a USB-C to HDMI/DP adapter (anything not USB4/Thunderbolt) gets no picture.Change. Mark
atcphy0andatcphy1withapple,dp-alt-modeand fix the comments. The dcpext routes, their loader gate and the tunnel path are unchanged.apple,dp-alt-modeis the board-wiring property the PHY driver already reads (J604 sets it on its three USB-C ports and not on ATC2, which drives HDMI).Testing. cpp + dtc on all six T8132 boards: same warning counts as the base.
Still to run. On a J713 or J715: a non-Thunderbolt USB-C monitor on each port (mode set, hotplug, one s2r), and a USB4 display to confirm the tunnel path is unchanged.
Assisted-by: LLM (Claude:Opus 5.5)