From 64d3aeeb48d36772040e935523199062921482ee Mon Sep 17 00:00:00 2001 From: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Date: Thu, 19 Nov 2026 22:07:52 +1100 Subject: [PATCH 1/2] arm64: dts: apple: t8132-j713-j715: DisplayPort alt mode on both USB-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 --- .../arm64/boot/dts/apple/t8132-j713-j715.dtsi | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi b/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi index 28e1d62a4a64d..789b17b86aef5 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi @@ -139,7 +139,20 @@ #size-cells = <2>; }; -/* External displays: both pipes, routed to either USB-C port. */ +/* + * External displays: both pipes, routed to either USB-C port. Both ports are + * ATC0/ATC1 with their display crossbars, wired as the J604's left ports, so + * their PHYs run DisplayPort alt mode as there (USB-C monitors and USB-C to + * HDMI/DP adapters without USB4/Thunderbolt). + */ +&atcphy0 { + apple,dp-alt-mode; +}; + +&atcphy1 { + apple,dp-alt-mode; +}; + &dcpext0_mbox { status = "okay"; }; @@ -174,9 +187,8 @@ /* * dcpext0's Type-C routes, UFP mux selector 2 on both ATC crossbars - * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The ATC PHYs have no DP alt mode: - * the routes are for DisplayPort tunnels, and DP alt mode is refused. The - * routes are disabled here; the display gate enables them only for a dcpext + * (cells 0/1/2: DP PHY, DP IN0, DP IN1), for DP alt mode and DisplayPort + * tunnels. The routes are disabled here; the display gate enables them only for a dcpext * the boot loader handed over, since a USB-C port controller waits for every * available route. */ @@ -227,9 +239,8 @@ /* * dcpext1's Type-C routes, UFP mux selector 4 on both ATC crossbars - * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The ATC PHYs have no DP alt mode: - * the routes are for DisplayPort tunnels, and DP alt mode is refused. The - * routes are disabled here; the display gate enables them only for a dcpext + * (cells 0/1/2: DP PHY, DP IN0, DP IN1), for DP alt mode and DisplayPort + * tunnels. The routes are disabled here; the display gate enables them only for a dcpext * the boot loader handed over, since a USB-C port controller waits for every * available route. */ From cb4f3c2c7d1bd74c68dd85a01f286d21fe5a1e2f Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sat, 5 Dec 2026 12:06:49 +1100 Subject: [PATCH 2/2] arm64: dts: apple: t8132-j715: DisplayPort alt mode on both USB-C ports 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 (80208db53c1e); 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 --- arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi | 4 ++-- arch/arm64/boot/dts/apple/t8132-j715.dts | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi b/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi index 3791db38659de..8da227a1976e1 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi @@ -177,7 +177,7 @@ * dcpext0's Type-C routes, UFP mux selector 2 on both ATC crossbars * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The routes carry DisplayPort tunnels, * and DP alt mode only on a port whose ATC PHY the board marks - * apple,dp-alt-mode (both J713 ports, t8132-j713.dts); elsewhere DP alt mode + * apple,dp-alt-mode (both ports on the J713 and J715); elsewhere DP alt mode * is refused. The routes are disabled here; the display gate enables them * only for a dcpext the boot loader handed over (26.6.2: firmware-ready set; * 27.2: its firmware memory filled), since a USB-C port controller waits for @@ -232,7 +232,7 @@ * dcpext1's Type-C routes, UFP mux selector 4 on both ATC crossbars * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The routes carry DisplayPort tunnels, * and DP alt mode only on a port whose ATC PHY the board marks - * apple,dp-alt-mode (both J713 ports, t8132-j713.dts); elsewhere DP alt mode + * apple,dp-alt-mode (both ports on the J713 and J715); elsewhere DP alt mode * is refused. The routes are disabled here; the display gate enables them * only for a dcpext the boot loader handed over (26.6.2: firmware-ready set; * 27.2: its firmware memory filled), since a USB-C port controller waits for diff --git a/arch/arm64/boot/dts/apple/t8132-j715.dts b/arch/arm64/boot/dts/apple/t8132-j715.dts index e56973cbe1a62..d4786cf6be346 100644 --- a/arch/arm64/boot/dts/apple/t8132-j715.dts +++ b/arch/arm64/boot/dts/apple/t8132-j715.dts @@ -218,6 +218,8 @@ * between the two PHYs. */ &atcphy0 { + /* As on the J713 (t8132-j713.dts): both ports run DisplayPort alt mode. */ + apple,dp-alt-mode; apple,tunable-cio-common = <0x800 0x3f0000 0x230000>, <0x2224 0xc00 0x800>, @@ -243,6 +245,7 @@ }; &atcphy1 { + apple,dp-alt-mode; apple,tunable-cio-common = <0x800 0x3f0000 0x230000>, <0x2224 0xc00 0x800>,