summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/elitebook_820_g2/acpi
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2021-04-24 21:22:10 +0800
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-08-04 21:45:53 +0000
commit7e28c846c3dfea730202d858682bec4dc46de1d7 (patch)
tree4b680dfad05c15fcedf5fd9df561ecf35f3215c8 /src/mainboard/hp/elitebook_820_g2/acpi
parent9f59d2a906a0e88be67d262cdc9b52bf9ceb5b20 (diff)
mb/hp: Add EliteBook 820 G2
Most of the components of this laptop are tested to work, which is listed in the documentation. Change-Id: Id8b3b7f735460c5e76a2dc9ab2d10154e6606ad6 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46630 Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/mainboard/hp/elitebook_820_g2/acpi')
-rw-r--r--src/mainboard/hp/elitebook_820_g2/acpi/ec.asl3
-rw-r--r--src/mainboard/hp/elitebook_820_g2/acpi/platform.asl14
-rw-r--r--src/mainboard/hp/elitebook_820_g2/acpi/superio.asl3
3 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/hp/elitebook_820_g2/acpi/ec.asl b/src/mainboard/hp/elitebook_820_g2/acpi/ec.asl
new file mode 100644
index 0000000000..baa17a4181
--- /dev/null
+++ b/src/mainboard/hp/elitebook_820_g2/acpi/ec.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <ec/hp/kbc1126/acpi/ec.asl>
diff --git a/src/mainboard/hp/elitebook_820_g2/acpi/platform.asl b/src/mainboard/hp/elitebook_820_g2/acpi/platform.asl
new file mode 100644
index 0000000000..8023ae826c
--- /dev/null
+++ b/src/mainboard/hp/elitebook_820_g2/acpi/platform.asl
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+Method(_WAK,1)
+{
+ \_SB.PCI0.LPCB.EC0.ACPI = 1
+ \_SB.PCI0.LPCB.EC0.SLPT = 0
+
+ Return(Package(){0,0})
+}
+
+Method(_PTS,1)
+{
+ \_SB.PCI0.LPCB.EC0.SLPT = Arg0
+}
diff --git a/src/mainboard/hp/elitebook_820_g2/acpi/superio.asl b/src/mainboard/hp/elitebook_820_g2/acpi/superio.asl
new file mode 100644
index 0000000000..55b1db5b11
--- /dev/null
+++ b/src/mainboard/hp/elitebook_820_g2/acpi/superio.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <drivers/pc80/pc/ps2_controller.asl>