From e30a7ce09333736814948f3073be48c4e3b101a8 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Fri, 13 Nov 2026 18:29:25 +0200 Subject: [PATCH 1/3] arm64: dts: apple: t8142-j704: Keep the PMP power domain on The PMP firmware keeps running DCS and fabric DVFS while the system is up. The J704 ps_pmp domain is not marked always-on, so genpd gates it at s2idle and the PMP takes an SError in its own firmware. The J813 got the same fix in ceaab64d4f7 ("arm64: dts: apple: t8142-j813: Keep the PMP power domain on"); T8132 and T8140 mark ps_pmp always-on too. Tested on J704 with the same property on an earlier tree: the first s2idle no longer crashes the PMP, and the machine wakes with the display, Wi-Fi and Bluetooth back. Signed-off-by: Dmitriy Assisted-by: LLM --- arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi index d962ab3291e03..d541c4cf0120c 100644 --- a/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi +++ b/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi @@ -60,6 +60,12 @@ label = "pmp"; /* The PMP's SRAM, which the driver reads first. */ power-domains = <&ps_pms_sram>; + /* + * As on T8140/T8132 and the J813: the PMP firmware keeps running + * DCS and fabric DVFS. If genpd gates this domain at s2idle, the + * PMP crashes on its own MMIO. + */ + apple,always-on; }; ps_pms_sram: power-controller@5a0 { From b484d69364c45725603d93eb2c661073beade854 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Fri, 13 Nov 2026 18:29:34 +0200 Subject: [PATCH 2/3] arm64: dts: apple: t8142-j704: Add the trackpad actuator The J704's MTP firmware offers the trackpad's haptic engine as interface 4 "actuator", as on the M5 MacBook Airs: Initializing comm interface <4- "actuator"> Without a node for it, dockchannel-hid ignores the interface and the click stays firmware-driven, with no Force Touch stage. Describe it as d2db3f8dd74 ("arm64: dts: apple: t8142-j813-j815: Add the trackpad actuator") does for the Airs. Signed-off-by: Dmitriy Assisted-by: LLM --- arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi index d541c4cf0120c..4e19db7c75d8f 100644 --- a/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi +++ b/arch/arm64/boot/dts/apple/t8142-j704-peripherals.dtsi @@ -253,6 +253,13 @@ /* Layout is filled by the loader using this machine's own data. */ keyboard: keyboard { }; + + /* + * The trackpad's haptic engine. The MTP firmware offers it + * as interface 4 "actuator"; without this node the click + * stays firmware-driven and there is no Force Touch stage. + */ + actuator { }; }; }; }; From a54463ee54e3ba9146507b2bd191026cb3cb5a13 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Fri, 13 Nov 2026 18:29:34 +0200 Subject: [PATCH 3/3] arm64: dts: apple: t8142-j704: Enable the system level cache (MCC) The J704 ADT's mcc,t8142 node matches the J815's: one AMCC (amcc-count 1, amcc-reg-idx 1), amcc-plane-enable-mask 0xf, reg[1] at 0x220000000 spanning the four planes 0x40000 apart. Enable the t8142.dtsi node from 167e40374f9 ("arm64: dts: apple: t8142: Add the MCC (system level cache) node"). The boot loader turns allocation on; the driver checks it and flushes the cache on shutdown. Signed-off-by: Dmitriy Assisted-by: LLM --- arch/arm64/boot/dts/apple/t8142-j704.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8142-j704.dts b/arch/arm64/boot/dts/apple/t8142-j704.dts index aebc8830d136a..20d06216a96b2 100644 --- a/arch/arm64/boot/dts/apple/t8142-j704.dts +++ b/arch/arm64/boot/dts/apple/t8142-j704.dts @@ -314,6 +314,11 @@ status = "okay"; }; +/* aura (mcc_init_m5) turns the system level cache on; the driver confirms it and flushes on shutdown. */ +&mcc { + status = "okay"; +}; + #include "t8142-j704-display.dtsi" #include "t8142-j704-peripherals.dtsi" #include "t8142-j704-usb.dtsi"