aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch
diff options
context:
space:
mode:
authorTony Huang <tony-huang@quanta.corp-partner.google.com>2020-10-06 10:42:45 +0800
committerEdward O'Callaghan <quasisec@chromium.org>2020-10-14 02:21:59 +0000
commit72464a47950987fd8f615a122a6a5665f5fa016a (patch)
tree0350feec5704f82a5ee30f6ee88d92d2d909d5a2 /src/mainboard/google/hatch
parent87feced195e70e37d7977a394b4b9779ccdfc064 (diff)
mb/google/puff/var/dooly: Enable Ambient Light Sensor (ALS)
Enable ALS ACPI devices for dooly. BUG=b:168426118 BRANCH=puff TEST=Ensure that ALS devices are enabled in ACPI tables. Change-Id: Idd44d6ae1e7b62939fdfc3a0ab01924d2c1714aa Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46061 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'src/mainboard/google/hatch')
-rw-r--r--src/mainboard/google/hatch/variants/dooly/include/variant/ec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/dooly/include/variant/ec.h b/src/mainboard/google/hatch/variants/dooly/include/variant/ec.h
index 59fb3783c5..7d280c6edf 100644
--- a/src/mainboard/google/hatch/variants/dooly/include/variant/ec.h
+++ b/src/mainboard/google/hatch/variants/dooly/include/variant/ec.h
@@ -5,4 +5,7 @@
#include <puff/ec.h>
+/* Enable EC backed ALS device in ACPI */
+#define EC_ENABLE_ALS_DEVICE
+
#endif