summaryrefslogtreecommitdiff
path: root/src/mainboard/google/myst/dsdt.asl
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2023-03-29 15:38:19 -0600
committerRaul Rangel <rrangel@chromium.org>2023-04-11 20:31:45 +0000
commita456458db08c4ce2a1c2b7ed6dd6bd277a8059ab (patch)
treecb6042f7effcb9d44c0b1930d0102ca4607683c7 /src/mainboard/google/myst/dsdt.asl
parent3f34879e2800d0d599331b2a5a068582f6f39b28 (diff)
mb/google/myst: Enable chromeOS EC
BUG=b:270624655 TEST=builds Signed-off-by: Jon Murphy <jpmurphy@google.com> Change-Id: Id18a311097d575973087eb92fd446a5c511f570e Reviewed-on: https://review.coreboot.org/c/coreboot/+/74099 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/myst/dsdt.asl')
-rw-r--r--src/mainboard/google/myst/dsdt.asl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/myst/dsdt.asl b/src/mainboard/google/myst/dsdt.asl
index 80a9c1f17e..9c7dc36b96 100644
--- a/src/mainboard/google/myst/dsdt.asl
+++ b/src/mainboard/google/myst/dsdt.asl
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
+#include <variant/ec.h>
DefinitionBlock (
"dsdt.aml",
@@ -13,4 +14,16 @@ DefinitionBlock (
{
#include <acpi/dsdt_top.asl>
#include <soc.asl>
+
+ Name (LIDS, 0)
+
+ /* Chrome OS Embedded Controller */
+ Scope (\_SB.PCI0.LPCB)
+ {
+ /* ACPI code for EC SuperIO functions */
+ #include <ec/google/chromeec/acpi/superio.asl>
+ /* ACPI code for EC functions */
+ #include <ec/google/chromeec/acpi/ec.asl>
+ }
+
}