aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/acpi/mainboard.asl
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2016-06-03 17:11:12 -0700
committerAaron Durbin <adurbin@chromium.org>2016-06-07 18:31:20 +0200
commitf6118c62a46b661175130f28d108f610db90ff2a (patch)
treee2f347d7434f7616098cfa0fb9d2051139ccdcc0 /src/mainboard/google/reef/acpi/mainboard.asl
parentd841da851205be103ad7de10c9604e853d844e55 (diff)
google/reef: Add asl code to enable google ChromeEC
This patch adds asl code to include support for Google ChromeEC. We need this to show the battery icon and notifications like charger connect/disconnect etc. BUG = 53096 TEST = Plug/Unplug AC Adapter multiple times and make sure the battery connected is charging properly. Change-Id: I06f48eda894418514c8ed0136500fff0efd12a35 Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/15069 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/acpi/mainboard.asl')
-rw-r--r--src/mainboard/google/reef/acpi/mainboard.asl26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/acpi/mainboard.asl b/src/mainboard/google/reef/acpi/mainboard.asl
index 05ea06add3..06b2efc9ac 100644
--- a/src/mainboard/google/reef/acpi/mainboard.asl
+++ b/src/mainboard/google/reef/acpi/mainboard.asl
@@ -14,3 +14,29 @@
*/
#include "acpi/superio.asl"
+
+Scope (\_SB)
+{
+ Device (LID0)
+ {
+ Name (_HID, EisaId ("PNP0C0D"))
+ Method (_LID, 0)
+ {
+ Return (\_SB.PCI0.LPCB.EC0.LIDS)
+ }
+ }
+
+ Device (PWRB)
+ {
+ Name (_HID, EisaId ("PNP0C0C"))
+ }
+}
+
+/*
+ * LPC Trusted Platform Module
+ */
+Scope (\_SB.PCI0.LPCB)
+{
+ #include <drivers/pc80/tpm/acpi/tpm.asl>
+ #include "ec.asl"
+}