Skip to content

Commit 3e4e729

Browse files
jannausvenpeter42
authored andcommitted
arm64: dts: apple: t8112-j473: Keep the HDMI port powered on
Add the display controller and DPTX phy power-domains to the framebuffer node to keep the framebuffer and display out working after device probing finished. The OS has more control about the display pipeline used for the HDMI output on M2 based devices. The HDMI output is driven by an integrated DisplayPort to HDMI converter (Parade PS190). The DPTX phy is now controlled by the OS and no longer by firmware running on the display co-processor. This allows using the second display controller on the second USB type-c port or tunneling 2 DisplayPort connections over USB4/Thunderbolt. The m1n1 bootloader uses the second display controller to drive the HDMI output. Adjust for this difference compared to the notebooks as well. Fixes: 2d5ce3f ("arm64: dts: apple: t8112: Initial t8112 (M2) device trees") Cc: stable@vger.kernel.org Signed-off-by: Janne Grunau <j@jannau.net> Link: https://patch.msgid.link/20260108-apple-dt-pmgr-fixes-v1-1-cfdce629c0a8@jannau.net Signed-off-by: Sven Peter <sven@kernel.org>
1 parent ba9dbb7 commit 3e4e729

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/t8112-j473.dts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,25 @@
2222
};
2323
};
2424

25+
/*
26+
* Keep the power-domains used for the HDMI port on.
27+
*/
28+
&framebuffer0 {
29+
power-domains = <&ps_dispext_cpu0>, <&ps_dptx_ext_phy>;
30+
};
31+
32+
/*
33+
* The M2 Mac mini uses dispext for the HDMI output so it's not necessary to
34+
* keep disp0 power-domains always-on.
35+
*/
36+
&ps_disp0_sys {
37+
/delete-property/ apple,always-on;
38+
};
39+
40+
&ps_disp0_fe {
41+
/delete-property/ apple,always-on;
42+
};
43+
2544
/*
2645
* Force the bus number assignments so that we can declare some of the
2746
* on-board devices and properties that are populated by the bootloader

0 commit comments

Comments
 (0)