From 654fad4452c49b9ae37f75bd82c683f0158667d4 Mon Sep 17 00:00:00 2001 From: Bartosz Nitka Date: Thu, 12 Nov 2026 10:52:11 +0100 Subject: [PATCH] arm64: dts: apple: t8132: give the scaler and JPEG DARTs their power domains The T8132 scaler and JPEG engines are enabled now, and their DARTs with them, but only the engines name their power domains (ps_msr, ps_jpg). A DART probes as a device of its own, and on the J713 those blocks are off when it does: the probe's first register read takes an SError, and the boot panics before the root filesystem is up: Kernel panic - not syncing: Asynchronous SError Interrupt ... apple_dart_readl+0xc/0x40 (P) platform_probe+0x5c/0xa4 ... apple_dart_driver_init+0x24/0x30 Give each DART its engine's domain, as the T6031 and T8112 scaler and JPEG DARTs have. Fixes: d34ed1ec7a88 ("media: apple: scaler: add the M1, M1 Max/Ultra and M4 engines") Fixes: fd4b396ab200 ("media: apple: jpeg: add the M1 Max/Ultra, M3 and M4 engines") Assisted-by: LLM Signed-off-by: Bartosz Nitka --- arch/arm64/boot/dts/apple/t8132-peripherals.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi index a0fcf16e4ff34..f291e5161a58a 100644 --- a/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi @@ -7,6 +7,7 @@ reg = <0x5 0x05260000 0x0 0x20000>; interrupt-parent = <&aic>; interrupts = ; + power-domains = <&ps_msr>; #iommu-cells = <1>; status = "okay"; }; @@ -22,6 +23,7 @@ reg = <0x3 0xa5020000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; + power-domains = <&ps_jpg>; #iommu-cells = <1>; status = "okay"; }; @@ -31,6 +33,7 @@ reg = <0x3 0xa5080000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; + power-domains = <&ps_jpg>; #iommu-cells = <1>; status = "okay"; };