summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbookpro10_1/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/apple/macbookpro10_1/acpi')
-rw-r--r--src/mainboard/apple/macbookpro10_1/acpi/ec.asl11
-rw-r--r--src/mainboard/apple/macbookpro10_1/acpi/platform.asl10
-rw-r--r--src/mainboard/apple/macbookpro10_1/acpi/superio.asl0
3 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/apple/macbookpro10_1/acpi/ec.asl b/src/mainboard/apple/macbookpro10_1/acpi/ec.asl
new file mode 100644
index 0000000000..9e61b4b988
--- /dev/null
+++ b/src/mainboard/apple/macbookpro10_1/acpi/ec.asl
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#define LIDS_OFFSET 0x60
+#define HPAC_OFFSET 0x60
+#define WKLD_OFFSET 0x68
+
+#include <ec/apple/acpi/ec.asl>
+#include <ec/apple/acpi/ac.asl>
+#include <ec/apple/acpi/lid.asl>
+
+#include <drivers/apple/hybrid_graphics/acpi/gmux.asl>
diff --git a/src/mainboard/apple/macbookpro10_1/acpi/platform.asl b/src/mainboard/apple/macbookpro10_1/acpi/platform.asl
new file mode 100644
index 0000000000..a56d3190bd
--- /dev/null
+++ b/src/mainboard/apple/macbookpro10_1/acpi/platform.asl
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+Method(_WAK,1)
+{
+ Return(Package(){0,0})
+}
+
+Method(_PTS,1)
+{
+}
diff --git a/src/mainboard/apple/macbookpro10_1/acpi/superio.asl b/src/mainboard/apple/macbookpro10_1/acpi/superio.asl
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/src/mainboard/apple/macbookpro10_1/acpi/superio.asl