From e7cdc52b560607e152a731adc4ef8424a414c653 Mon Sep 17 00:00:00 2001 From: AxxzyWasTaken Date: Tue, 17 Nov 2026 21:00:42 +0000 Subject: [PATCH 1/2] 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. 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 ccdd779a5e580..65fce9f16c749 100644 --- a/arch/arm64/boot/dts/apple/t6041-j616c.dts +++ b/arch/arm64/boot/dts/apple/t6041-j616c.dts @@ -169,3 +169,21 @@ &scaler1 { status = "okay"; }; + +/* 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; +}; From 9e8f843d017cd4e0e5837cd5d9a4fa0fc3365520 Mon Sep 17 00:00:00 2001 From: AxxzyWasTaken Date: Wed, 25 Nov 2026 11:13:12 +0000 Subject: [PATCH 2/2] arm64: dts: apple: t6041-j614c-j616c: move apple,sleep-ssps to shared dtsi Both the J614c and J616c share the four SN201202x port controllers (hpm0, hpm1, hpm2 and MagSafe's hpm5) defined in t6041-j614c-j616c.dtsi. Move apple,sleep-ssps from the J616c board file onto those shared controller nodes so both boards receive the same firmware-suspend SSPS handling without board-gating J616c. Signed-off-by: AxxzyWasTaken --- .../boot/dts/apple/t6041-j614c-j616c.dtsi | 4 ++++ arch/arm64/boot/dts/apple/t6041-j616c.dts | 18 ------------------ 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi b/arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi index 95ead115f9eef..b819710368622 100644 --- a/arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi +++ b/arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi @@ -1891,6 +1891,7 @@ <19 IRQ_TYPE_EDGE_RISING>; interrupt-names = "irq", "select", "sleep", "wake"; apple,event-irq-in-sleep; + apple,sleep-ssps; typec0: connector { compatible = "usb-c-connector"; @@ -1929,6 +1930,7 @@ <71 IRQ_TYPE_EDGE_RISING>; interrupt-names = "irq", "select", "sleep", "wake"; apple,event-irq-in-sleep; + apple,sleep-ssps; }; hpm1: usb-pd@a { @@ -1940,6 +1942,7 @@ <45 IRQ_TYPE_EDGE_RISING>; interrupt-names = "irq", "select", "sleep", "wake"; apple,event-irq-in-sleep; + apple,sleep-ssps; typec1: connector { compatible = "usb-c-connector"; @@ -1981,6 +1984,7 @@ <19 IRQ_TYPE_EDGE_RISING>; interrupt-names = "irq", "select", "sleep", "wake"; apple,event-irq-in-sleep; + apple,sleep-ssps; typec2: connector { compatible = "usb-c-connector"; diff --git a/arch/arm64/boot/dts/apple/t6041-j616c.dts b/arch/arm64/boot/dts/apple/t6041-j616c.dts index 65fce9f16c749..ccdd779a5e580 100644 --- a/arch/arm64/boot/dts/apple/t6041-j616c.dts +++ b/arch/arm64/boot/dts/apple/t6041-j616c.dts @@ -169,21 +169,3 @@ &scaler1 { status = "okay"; }; - -/* 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; -};