summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/suspend.h
diff options
context:
space:
mode:
authorYinbo Zhu <zhuyinbo@loongson.cn>2023-06-29 15:58:44 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2023-06-29 15:58:44 +0300
commit31f1a8b0ec66cf21d83807243c3a54469a7018c3 (patch)
treefdcfcec98c58b28bc8a88a90ee5a288c7dbad062 /arch/loongarch/include/asm/suspend.h
parent01158487af60cd3915e8c31924144caf29cb0767 (diff)
downloadlinux-31f1a8b0ec66cf21d83807243c3a54469a7018c3.tar.xz
LoongArch: Export some arch-specific pm interfaces
Some PMC (Power Management Controllers) need to support DTS and will use the suspend interfaces thus this patch was to export such interfaces for their use. Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/include/asm/suspend.h')
-rw-r--r--arch/loongarch/include/asm/suspend.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/suspend.h b/arch/loongarch/include/asm/suspend.h
new file mode 100644
index 000000000000..4025c9d5d7cf
--- /dev/null
+++ b/arch/loongarch/include/asm/suspend.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __ASM_SUSPEND_H
+#define __ASM_SUSPEND_H
+
+void loongarch_common_suspend(void);
+void loongarch_common_resume(void);
+void loongarch_suspend_enter(void);
+void loongarch_wakeup_start(void);
+
+#endif