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

Change-Id: I9e957464f835d5bd96d4806f896ac60db9dea5dc
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/203744
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Duncan Laurie 2014-06-13 10:36:34 -07:00 committed by chrome-internal-fetch
commit a4f78b0b78

View file

@ -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>