]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: apple: rtkit: Add function to poweroff
authorSven Peter <sven@kernel.org>
Sat, 17 Jan 2026 17:59:10 +0000 (18:59 +0100)
committerSven Peter <sven@kernel.org>
Sun, 18 Jan 2026 19:32:57 +0000 (20:32 +0100)
commitba99035bf16ef0d4a7f6acd56fc9292c0bd0d42e
treef1e45b9a5a7da2f9d18ef42b459123420d9d0faf
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
soc: apple: rtkit: Add function to poweroff

Add a function to put a co-processor into the lowest possible power
state from which recovery usually isn't possible without a full SoC
reset. This is required for the USB4/Thunderbolt co-processors which
can be restarted since the entire USB4 root complex can be completely
reset independently of the rest of the SoC.

Reviewed-by: Janne Grunau <j@jannau.net>
Link: https://patch.msgid.link/20260117-apple-rtkit-poweroff-v2-1-b882a180e44d@kernel.org
Signed-off-by: Sven Peter <sven@kernel.org>
drivers/soc/apple/rtkit.c
include/linux/soc/apple/rtkit.h