summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkshu Agrawal <akshu.agrawal@amd.com>2017-08-21 14:21:30 +0530
committerAaron Durbin <adurbin@chromium.org>2017-08-22 17:21:33 +0000
commitf7cd2f5b940aabb79a2ed83cdbbb4fe311e04bff (patch)
treee4e3d659e5990d36a29983709f1d87db766f8dd6 /src
parentee9168737ff1585345dd07f47b3a234f6f44bc5c (diff)
downloadcoreboot-f7cd2f5b940aabb79a2ed83cdbbb4fe311e04bff.tar.xz
google/kahlee: Enable ALS connected to EC
Kahlee has an ambient light sensor connected to the EC. TEST=Can see the device in /sys/bus/iio BUG=b:62030268 Change-Id: Id1138a0fc5270489a734bdf8b1f4ac02d358c0df Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com> Reviewed-on: https://review.coreboot.org/21146 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kahlee/ec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/ec.h b/src/mainboard/google/kahlee/ec.h
index b8b5af802a..deb2cb164d 100644
--- a/src/mainboard/google/kahlee/ec.h
+++ b/src/mainboard/google/kahlee/ec.h
@@ -61,6 +61,9 @@
/* Enable LID switch */
#define EC_ENABLE_LID_SWITCH
+/* Enable EC backed ALS device in ACPI */
+#define EC_ENABLE_ALS_DEVICE
+
#define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */
#define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */
#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */