From 7d925f6b5802bf9b0d662c872de0fe99e72ceef3 Mon Sep 17 00:00:00 2001 From: AxxzyWasTaken Date: Tue, 17 Nov 2026 21:00:42 +0000 Subject: [PATCH] arm64: dts: apple: t6041-j616c: system power state for the port controllers macOS tells the USB-C port controllers the system power state (SSPS), S3 before a sleep and S0 after it. The tipd driver does the same around a firmware-driven suspend for a controller with apple,sleep-ssps, as the J700, J714s, J716c and J813/J815 have. Give it to the J616c's four SN201202x controllers: hpm0, hpm1, hpm2 and MagSafe's hpm5. Assisted-by: LLM Signed-off-by: AxxzyWasTaken --- arch/arm64/boot/dts/apple/t6041-j616c.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t6041-j616c.dts b/arch/arm64/boot/dts/apple/t6041-j616c.dts index 26dd8dbc5f5c2..60fa40497bf3f 100644 --- a/arch/arm64/boot/dts/apple/t6041-j616c.dts +++ b/arch/arm64/boot/dts/apple/t6041-j616c.dts @@ -61,3 +61,21 @@ &mesa { firmware-name = "apple/mesacal-j616c.bin", "apple/msrk-j616c.bin"; }; + +/* The port controllers take system power state S3 for a firmware suspend, as macOS sends it. */ +&hpm0 { + apple,sleep-ssps; +}; + +&hpm1 { + apple,sleep-ssps; +}; + +&hpm2 { + apple,sleep-ssps; +}; + +/* MagSafe's controller follows the sleep too. */ +&hpm5 { + apple,sleep-ssps; +};