LoongArch: Export some arch-specific pm interfaces
authorYinbo Zhu <zhuyinbo@loongson.cn>
Thu, 29 Jun 2023 12:58:44 +0000 (20:58 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 29 Jun 2023 12:58:44 +0000 (20:58 +0800)
commit31f1a8b0ec66cf21d83807243c3a54469a7018c3
treefdcfcec98c58b28bc8a88a90ee5a288c7dbad062
parent01158487af60cd3915e8c31924144caf29cb0767
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>
arch/loongarch/include/asm/acpi.h
arch/loongarch/include/asm/suspend.h [new file with mode: 0644]
arch/loongarch/power/suspend.c