diff options
author | Yinbo Zhu <zhuyinbo@loongson.cn> | 2023-06-29 14:58:44 +0200 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-06-29 14:58:44 +0200 |
commit | 31f1a8b0ec66cf21d83807243c3a54469a7018c3 (patch) | |
tree | fdcfcec98c58b28bc8a88a90ee5a288c7dbad062 /arch/loongarch/include/asm/suspend.h | |
parent | LoongArch: Introduce hardware page table walker (diff) | |
download | linux-31f1a8b0ec66cf21d83807243c3a54469a7018c3.tar.xz linux-31f1a8b0ec66cf21d83807243c3a54469a7018c3.zip |
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.h | 10 |
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 |