Repository navigation
arm64: dts: apple: t8132-j715: DisplayPort alt mode on both USB-C ports - #2807
RyanTheTide wants to merge 4 commits 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". |
|
64d3aee merges without conflicts on integration/aurora daa9e2d; the tip's Air DT still says the ATC PHYs have no DP alt mode. The J715 row above shows alt mode working on both ports on firmware 26.6.2. Still to run before this leaves draft: a J713 row (a non-Thunderbolt USB-C monitor on each port, hotplug, one suspend) and a USB4 display to confirm the tunnel path is unchanged. |
The J713 half landed on main as 80208db (both J713 PHYs marked in t8132-j713.dts, the shared dtsi comments updated); take main's t8132-j713-j715.dtsi. The J715 half follows on top. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
The J715 (MacBook Air 15-inch, M4) has the same two USB-C ports as the J713: ATC0/ATC1 with their display crossbars, the same dcpext routes in t8132-j713-j715.dtsi. The J713 marks both PHYs apple,dp-alt-mode (80208db); the J715 did not, so a plain USB-C monitor or a USB-C to HDMI/DP adapter gets no picture there. Mark both J715 PHYs the same way. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Updated to cb4f3c2. The J713 half is on main (80208db marks both J713 PHYs, and the shared dtsi comments changed with it), so I merged main and took main's t8132-j713-j715.dtsi. One commit on top adds the same two properties to t8132-j715.dts. DTB check: the J715 diff from main is only the two |
|
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: MERGE at 8e86800
Checked: Built both Air DTBs at the merge parent and exact head. J713 is byte-identical. The sorted J715 device tree differs only by the DP alt-mode property on each of its two PHYs. The existing driver consumes those properties for alt-mode admission and keeps USB4 tunnel routing and the external DCP handoff checks in place.
Hosted DT checks passed. The existing J715 owner row covered both ports on a predecessor with the same property change. Exact-head hotplug, suspend and USB4 control remain pending.
Problem. The MacBook Air 15-inch M4 (J715) has the same two USB-C ports as the J713: ATC0 and ATC1 with their display crossbars. They share the dcpext routes in t8132-j713-j715.dtsi. The J713 marks both PHYs
apple,dp-alt-mode(80208db on main). The J715 does not, so a plain USB-C monitor or a USB-C to HDMI/DP adapter (anything that is not USB4/Thunderbolt) gets no picture there.Change. Mark
atcphy0andatcphy1apple,dp-alt-modein t8132-j715.dts, and name the J715 in the shared dtsi comments. The J713 half of the original change is already on main, so this branch is now main plus the J715 commit.Tested: J715 owner row (kazuhidet, above) with this same property on both PHYs (as #2246 / 64d3aee): DP alt mode works on both ports. Locally at cb4f3c2: the J715 DTB differs from main only by
apple,dp-alt-modeon the two PHYs, and the J713 DTB is unchanged.Risk: two-way · J715 (MacBook Air 15-inch M4) only
Still to run: a J715 row on this head (a non-Thunderbolt USB-C monitor on each port, hotplug, one suspend; a USB4 display still uses the tunnel path).