From 59ea61054b1e601a5c32fb11d6906be51f23587a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 13 Nov 2026 13:10:26 -0700 Subject: [PATCH] arm64: dts: apple: t6050-k116s: leave the DCP clocks and scratch to the loader aura's T6050 panel hand-off adds the DCP firmware's clock nodes, the "clocks" property and the bandwidth request scratch ("apple,bw-scratch") to the dcp node from the ADT, as it does for the J714s, and refuses a device tree that already carries them ("the device tree already has a memory-region, clocks or apple,bw-scratch"). The K116s tree had them written in for an earlier loader, so with aura main the internal panel was not handed over. Drop the two fixed-clock nodes, "clocks" and "apple,bw-scratch". "apple,clock-ids", the DART ranges and the panel node stay. The values aura fills in are the ones removed here: the dcpext0 PMC block at 0x20000 and clock ids 361 and 458. Needs aura with the 27.2 K116s panel hand-off (aurora-silicon/aura#226). Signed-off-by: Jens Axboe --- arch/arm64/boot/dts/apple/t6050-k116s.dts | 24 +++-------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-k116s.dts b/arch/arm64/boot/dts/apple/t6050-k116s.dts index 97a7558d10fde..0a03eb8130ef0 100644 --- a/arch/arm64/boot/dts/apple/t6050-k116s.dts +++ b/arch/arm64/boot/dts/apple/t6050-k116s.dts @@ -415,31 +415,13 @@ apple,dma-range = <0x100 0x0 0x300 0x0>; }; -/* The DCP firmware's clocks: ADT disp0 clock-ids; the loader fills the rates */ -/ { - dcp_clk_361: clock-dcp-firmware-361 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <0>; - }; - - dcp_clk_458: clock-dcp-firmware-458 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <0>; - }; -}; - &dcp { /* - * The bandwidth request scratch: the PMC metadata (disp-4, register window - * 5) at the slot of PMGR bandwidth agent DISP_INT (ADT bwr-agent index 0, - * BIRQ 0x96 = disp0 function-bw_req_interrupt0): 0x20000 + 0 * 0x4000. + * ADT disp0 clock-ids. The loader adds the clock nodes, "clocks" and the + * bandwidth request scratch ("apple,bw-scratch") when it hands the panel + * over, as on the J714s, and refuses a tree that already has them. */ - apple,bw-scratch = <&dcpext0_pmc 0 5 0x20000>; - /* ADT disp0 clock-ids */ apple,clock-ids = <361 458>; - clocks = <&dcp_clk_361>, <&dcp_clk_458>; /* * The 16.2-inch 3456x2234 tandem OLED panel. The ADT carries no dimensions;