summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2023-01-23 07:53:54 +0100
committerHector Martin <marcan@marcan.st>2023-01-31 12:35:47 +0100
commit40eaa8c0cbba4a27668c7e01373ccd5b38381e2f (patch)
tree6b5e45accf7ea9a10aec514e574b790c8bca54bf /include
parentLinux 6.2-rc1 (diff)
downloadlinux-40eaa8c0cbba4a27668c7e01373ccd5b38381e2f.tar.xz
linux-40eaa8c0cbba4a27668c7e01373ccd5b38381e2f.zip
soc: apple: rtkit: Add apple_rtkit_idle() function
This is yet another low power mode, used by DCP. Reviewed-by: Eric Curtin <ecurtin@redhat.com> Reviewed-by: Sven Peter <sven@svenpeter.dev> Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'include')
-rw-r--r--include/linux/soc/apple/rtkit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/soc/apple/rtkit.h b/include/linux/soc/apple/rtkit.h
index c9cabb679cd1..a2446b45ed7f 100644
--- a/include/linux/soc/apple/rtkit.h
+++ b/include/linux/soc/apple/rtkit.h
@@ -105,6 +105,11 @@ int apple_rtkit_wake(struct apple_rtkit *rtk);
int apple_rtkit_shutdown(struct apple_rtkit *rtk);
/*
+ * Put the co-processor into idle mode
+ */
+int apple_rtkit_idle(struct apple_rtkit *rtk);
+
+/*
* Checks if RTKit is running and ready to handle messages.
*/
bool apple_rtkit_is_running(struct apple_rtkit *rtk);