Edward O'Callaghan submitted this change.
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>
---
M src/mainboard/google/hatch/variants/dooly/include/variant/ec.h
1 file 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 59fb378..7d280c6 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
To view, visit change 46061. To unsubscribe, or for help writing mail filters, visit settings.