summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-apple/rtkit.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-10 17:38:04 -0500
committerTom Rini <trini@konsulko.com>2022-02-10 17:38:04 -0500
commitfe203a05fb663fa9bc42a9ef9ae51a6ed01a4a90 (patch)
tree635b4c3019d51684bdb98a52e20aaeb893c5c40a /arch/arm/include/asm/arch-apple/rtkit.h
parentc4408291bfff9622f2d3817a13c997debd0e8200 (diff)
parentad41ed120893522e23cc24550bb2d1dfb745a075 (diff)
Merge branch '2022-02-10-platform-updates'
- Assorted Apple M1 platform updates - Drop CONFIG_SYS_RESET_ADDR, update k3-am64-sk memory values in dts
Diffstat (limited to 'arch/arm/include/asm/arch-apple/rtkit.h')
-rw-r--r--arch/arm/include/asm/arch-apple/rtkit.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-apple/rtkit.h b/arch/arm/include/asm/arch-apple/rtkit.h
new file mode 100644
index 00000000000..51f77f298c0
--- /dev/null
+++ b/arch/arm/include/asm/arch-apple/rtkit.h
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * (C) Copyright 2021 Mark Kettenis <kettenis@openbsd.org>
+ */
+
+#define APPLE_RTKIT_PWR_STATE_SLEEP 0x01
+#define APPLE_RTKIT_PWR_STATE_QUIESCED 0x10
+#define APPLE_RTKIT_PWR_STATE_ON 0x20
+
+int apple_rtkit_init(struct mbox_chan *);
+int apple_rtkit_shutdown(struct mbox_chan *, int);