diff options
author | david <david_wu@quantatw.com> | 2015-12-18 20:11:08 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-01-18 12:21:23 +0100 |
commit | 8d6666563797923e566cc56e7bd8861fa955d0c6 (patch) | |
tree | 4f4c8792996dec2f29dd12e9675823b00d215ac3 /src/mainboard/google/lars | |
parent | 77e9f09937afaa98518c57934b59b401429f6c0c (diff) |
google/lars: Enable ALS connected to EC
Lars has an ambient light sensor connected to the EC which
is presented to the OS as a standard ACPI0008 device.
BUG=none
BRANCH=none
TEST=emerge-lars coreboot
Change-Id: I406b634176dac3f4cf1894e6b386af3306d11ffa
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 37d96458a11c33899f210cc04d3bdab07ec18746
Original-Change-Id: I017aeed1a8684676557e483ffa895dc4bb125d26
Original-Signed-off-by: David Wu <David_Wu@quantatw.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/319364
Original-Commit-Ready: David Wu <david_wu@quantatw.com>
Original-Tested-by: David Wu <david_wu@quantatw.com>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/12990
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/lars')
-rw-r--r-- | src/mainboard/google/lars/acpi/ec.asl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/lars/acpi/ec.asl b/src/mainboard/google/lars/acpi/ec.asl index e4a35c8b42..b012827e7a 100644 --- a/src/mainboard/google/lars/acpi/ec.asl +++ b/src/mainboard/google/lars/acpi/ec.asl @@ -17,6 +17,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 |