aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/system76/oryp5/acpi/sleep.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/system76/oryp5/acpi/sleep.asl')
-rw-r--r--src/mainboard/system76/oryp5/acpi/sleep.asl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/system76/oryp5/acpi/sleep.asl b/src/mainboard/system76/oryp5/acpi/sleep.asl
new file mode 100644
index 0000000000..f2b194c422
--- /dev/null
+++ b/src/mainboard/system76/oryp5/acpi/sleep.asl
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/* Method called from _PTS prior to enter sleep state */
+Method (MPTS, 1)
+{
+ \_SB.PCI0.LPCB.EC0.PTS (Arg0)
+}
+
+/* Method called from _WAK prior to wakeup */
+Method (MWAK, 1)
+{
+ \_SB.PCI0.LPCB.EC0.WAK (Arg0)
+}