diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2015-09-09 10:06:09 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-09-16 14:55:55 +0000 |
commit | 6e6d0425308c2c98e7d63ab3c0260644b916d386 (patch) | |
tree | 1fea64909ff885bc25f18d7642511c71db2b0b5d /src/mainboard/google/glados/acpi | |
parent | 179623a691aab2ccf923c86a0ddc245eed05b2c7 (diff) |
glados: Enable ALS connected to EC
Glados has an ambient light sensor connected to the EC which
is presented to the OS as a standard ACPI0008 device.
BUG=chrome-os-partner:43493
BRANCH=none
TEST=test ALS functionality on glados P2 board
Change-Id: I4a4913a1b407720d85f6e630b674e550bf5e36df
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: aee2b2446ca45039f1b4866feb83754861dba054
Original-Change-Id: I61f3f31ba077f63b36aa0cd9707e128e65c9ea7d
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/298251
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11644
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/glados/acpi')
-rw-r--r-- | src/mainboard/google/glados/acpi/ec.asl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/glados/acpi/ec.asl b/src/mainboard/google/glados/acpi/ec.asl index d69ebe2d01..6546a756dc 100644 --- a/src/mainboard/google/glados/acpi/ec.asl +++ b/src/mainboard/google/glados/acpi/ec.asl @@ -21,6 +21,9 @@ #include "../ec.h" #include "../gpio.h" +/* Enable EC backed ALS device in ACPI */ +#define EC_ENABLE_ALS_DEVICE + /* Enable EC backed Keyboard Backlight in ACPI */ #define EC_ENABLE_KEYBOARD_BACKLIGHT |