From d5cc1f60ea32eb6cd2e5c25ff0b0b38a43144f30 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sat, 21 Nov 2026 02:02:07 +1100 Subject: [PATCH] arm64: dts: apple: t8122-j615: hand the MTP over running, two-stage trackpad power The J615's MTP firmware cannot be restarted once quiesced, as on the J613. After U-Boot used it for the boot keyboard and stopped it, Linux restarted it, the coprocessor crashed (data abort in its first epoch), the helper failed with -ETIME and the internal keyboard and trackpad never appeared. Mark the MTP apple,rtkit-keep-running so a boot stage hands its first epoch over running and Linux adopts it. On the 27.2 firmware the trackpad answers the one-stage power command with 0xe00002c2 and never becomes ready ("multi-touch start timed out"). It accepts the two-stage command, so set apple,power-method = <2>. The 25G83 variant already sets <2> itself (as on the J613 25G83) and now also inherits the keep-running handoff, as the J613 25G83 does. Tested on a J615 on the 27.2 stub, Stage 2 aura 1.0.0b13.1 with this DTB and U-Boot with the keep-running handoff: the session is adopted (4 retained buffers), keyboard, trackpad, STM and actuator interfaces report ready, no dockchannel-hid errors. Signed-off-by: Ryan Murray --- arch/arm64/boot/dts/apple/t8122-j615.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8122-j615.dts b/arch/arm64/boot/dts/apple/t8122-j615.dts index 8c3add040f8d..3961ac35e65d 100644 --- a/arch/arm64/boot/dts/apple/t8122-j615.dts +++ b/arch/arm64/boot/dts/apple/t8122-j615.dts @@ -146,6 +146,13 @@ &mtp_mt { firmware-name = "apple/tpmtfw-j615.bin"; + /* The 27.x trackpad firmware answers only the two-stage power command. */ + apple,power-method = <2>; +}; + +/* The J615 MTP firmware cannot be restarted once quiesced: hand it over running. */ +&mtp { + apple,rtkit-keep-running; }; &mesa {