aboutsummaryrefslogtreecommitdiff
path: root/src/ec/clevo/it5570e/acpi/common.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/clevo/it5570e/acpi/common.asl')
-rw-r--r--src/ec/clevo/it5570e/acpi/common.asl28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/ec/clevo/it5570e/acpi/common.asl b/src/ec/clevo/it5570e/acpi/common.asl
new file mode 100644
index 0000000000..21ddbd9816
--- /dev/null
+++ b/src/ec/clevo/it5570e/acpi/common.asl
@@ -0,0 +1,28 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef EC_GPE_SCI
+#error EC_GPE_SCI must be defined by mainboard.
+#endif
+#ifndef EC_GPE_PWRB
+#error EC_GPE_PWRB must be defined by mainboard.
+#endif
+#ifndef EC_GPE_SLPB
+#error EC_GPE_PWRB must be defined by mainboard.
+#endif
+#ifndef EC_GPE_LID
+#error EC_GPE_LID must be defined by mainboard.
+#endif
+
+Scope (\_SB)
+{
+ #include "ac.asl"
+ #include "battery.asl"
+ #include "buttons.asl"
+ #include "lid.asl"
+ #include "hid.asl"
+
+ Scope (PCI0.LPCB)
+ {
+ #include "ec.asl"
+ }
+}