aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/system76/oryp5/acpi/gpe.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/system76/oryp5/acpi/gpe.asl')
-rw-r--r--src/mainboard/system76/oryp5/acpi/gpe.asl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/system76/oryp5/acpi/gpe.asl b/src/mainboard/system76/oryp5/acpi/gpe.asl
new file mode 100644
index 0000000000..81022642e4
--- /dev/null
+++ b/src/mainboard/system76/oryp5/acpi/gpe.asl
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+// GPP_B23 SCI
+Method (_L17, 0, Serialized)
+{
+ Debug = Concatenate("GPE _L17: ", ToHexString(\_SB.PCI0.LPCB.EC0.WFNO))
+ If (\_SB.PCI0.LPCB.EC0.ECOK) {
+ If (\_SB.PCI0.LPCB.EC0.WFNO == 1) {
+ Notify(\_SB.LID0, 0x80)
+ }
+ }
+}