diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2014-06-13 10:36:34 -0700 |
---|---|---|
committer | Marc Jones <marc.jones@se-eng.com> | 2015-01-09 07:44:27 +0100 |
commit | 990a592c1d2a58753decc72a75820177d92b555f (patch) | |
tree | f7dfa24c988ef183fab43354a8c01bd06ace4e30 /src/mainboard/google/samus | |
parent | 612163ebaae60b0bc724324abb882f995072b104 (diff) |
samus: Enable EC ALS device
Enable the ACPI Device for the EC ALS.
BUG=chrome-os-partner:24208
BRANCH=None
TEST=build and boot on samus, add acpi-als driver to the kernel
and read /sys/bus/iio/devices/iio:device0/in_illuminance_raw
Original-Change-Id: I9e957464f835d5bd96d4806f896ac60db9dea5dc
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/203744
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit a4f78b0b78c53bc0397d9a21dd8f3fa040f41616)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: Ib83d6211d323770c9498180a7721d45e4aefca9d
Reviewed-on: http://review.coreboot.org/8133
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/samus')
-rw-r--r-- | src/mainboard/google/samus/acpi/ec.asl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/samus/acpi/ec.asl b/src/mainboard/google/samus/acpi/ec.asl index 995c941356..746498a5dd 100644 --- a/src/mainboard/google/samus/acpi/ec.asl +++ b/src/mainboard/google/samus/acpi/ec.asl @@ -20,5 +20,8 @@ /* mainboard configuration */ #include <mainboard/google/samus/ec.h> +/* Enable EC backed ALS device in ACPI */ +#define EC_ENABLE_ALS_DEVICE + /* ACPI code for EC functions */ #include <ec/google/chromeec/acpi/ec.asl> |