From e8ddbc1579cf4761938d25a92a9f348d1604a655 Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Wed, 11 Nov 2026 20:41:59 -0600 Subject: [PATCH 1/2] arm64: dts: apple: t6050-k114c: describe the internal panel handoff Add the internal panel half of the J714s handoff description to the K114c: the display subsystem, the dcp and disp0 aliases the boot loader looks for, the DART DMA windows and the panel node. Everything stays disabled until the loader enables it, as on J714s; without a loader handoff the boot framebuffer stays on simpledrm. The DART windows are those of the K114c ADT (dart-dcp and dart-disp0: vm-base 1 TiB, vm-size 3 TiB). The panel is the tandem OLED of the K114 (ADT oled-display) and has no I2C backlight controller (ADT backlight node: dcp-brightness-node), so it takes the generic panel node, not the mini-LED one, and its brightness is a DCP request. Firmware 27 needs three values the ADT does not give the driver, so the node carries them: an empty apple,clock-ids (the ADT dcp lists no clocks), the 302 x 196 mm size of the 14.2-inch panel (ADT disp0 dot pitch 254.6 ppi at 3024 x 1964), and apple,max-brightness of 1000 (ADT backlight node user-accessible-max-nits, 0x03e80000 in 16.16). Without the size the driver sees no panel and registers no backlight; without the maximum it drops every present. Built with W=1 and checked against the dcp binding schema; not booted. Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- .../boot/dts/apple/t6050-k114c-display.dtsi | 53 +++++++++++++++++++ arch/arm64/boot/dts/apple/t6050-k114c.dts | 1 + 2 files changed, 54 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi diff --git a/arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi b/arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi new file mode 100644 index 0000000000000..64cdf7150e21e --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * K114c (M5 Max) internal panel, for the boot loader's display handoff. Everything here + * stays disabled: the loader checks the ADT and the live DCP and DART state, publishes the + * DCP's firmware properties, and only then enables the nodes. A loader without the handoff, + * or one whose checks fail, leaves the boot framebuffer to simpledrm. + * + * Same layout as the internal panel half of t6050-j714s-gpu-panel.dtsi. The panel is the + * 14.2-inch tandem OLED of the K114 (ADT oled-display), with no I2C backlight controller, so + * its brightness is a DCP request (ADT backlight node: dcp-brightness-node). + */ + +/ { + aliases { + /* The loader writes apple,notch-height into the "dcp" alias */ + dcp = &dcp; + disp0 = &display; + }; + + /* As on t6050-ultra.dtsi, with the internal display's DART (disp0, SID 0) */ + display: display-subsystem { + compatible = "apple,display-subsystem"; + iommus = <&disp0_dart 0>; + status = "disabled"; + }; +}; + +/* ADT dart-dcp and dart-disp0: vm-base 1 TiB, vm-size 3 TiB */ +&dcp_dart { + apple,dma-range = <0x100 0x0 0x300 0x0>; +}; + +&disp0_dart { + apple,dma-range = <0x100 0x0 0x300 0x0>; +}; + +&dcp { + /* The ADT lists no clocks for the DCP (clock-ids = []); firmware 27 needs the property */ + apple,clock-ids; + + /* + * An OLED, so the generic panel node only, not the mini-LED compatible. The + * K114c ADT carries no panel dimensions: the 14.2-inch 3024x1964 panel is + * the size of J714s (ADT disp0 dot-pitch 254.6 ppi). The ADT backlight + * node's user-accessible-max-nits is 1000 (0x03e80000 in 16.16). + */ + panel { + compatible = "apple,panel"; + width-mm = <302>; + height-mm = <196>; + apple,max-brightness = <1000>; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114c.dts b/arch/arm64/boot/dts/apple/t6050-k114c.dts index 13ea865ba58e1..b295f92de57d7 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114c.dts +++ b/arch/arm64/boot/dts/apple/t6050-k114c.dts @@ -108,6 +108,7 @@ }; #include "t6050-k114c-gpu.dtsi" +#include "t6050-k114c-display.dtsi" /* * Sound through the AOP, as on J813: its audio service runs the serializers, the From 7a173e51860c8e3a45cc692f9cfe80666aee042b Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Thu, 19 Nov 2026 18:16:57 -0600 Subject: [PATCH 2/2] arm64: dts: apple: correct the K114c DCP mode comment DCP reports 3024x1986. Keep the inherited J714s panel dimensions and describe their source separately from the reported mode. The original and updated preprocessed DTS have identical hashes. Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi b/arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi index 64cdf7150e21e..954f060085b3e 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-k114c-display.dtsi @@ -40,9 +40,9 @@ /* * An OLED, so the generic panel node only, not the mini-LED compatible. The - * K114c ADT carries no panel dimensions: the 14.2-inch 3024x1964 panel is - * the size of J714s (ADT disp0 dot-pitch 254.6 ppi). The ADT backlight - * node's user-accessible-max-nits is 1000 (0x03e80000 in 16.16). + * DCP reports 3024x1986. The K114c ADT does not give the panel dimensions; + * the values below use the J714s panel size. The K114c ADT backlight node + * gives a user-accessible maximum of 1000 nits (0x03e80000 in 16.16). */ panel { compatible = "apple,panel";