From f7cd2f5b940aabb79a2ed83cdbbb4fe311e04bff Mon Sep 17 00:00:00 2001 From: Akshu Agrawal Date: Mon, 21 Aug 2017 14:21:30 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/21146 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/google/kahlee/ec.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3