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>
This commit is contained in:
parent
77e9f09937
commit
8d66665637
|
@ -17,6 +17,9 @@
|
||||||
#include "../ec.h"
|
#include "../ec.h"
|
||||||
#include "../gpio.h"
|
#include "../gpio.h"
|
||||||
|
|
||||||
|
/* Enable EC backed ALS device in ACPI */
|
||||||
|
#define EC_ENABLE_ALS_DEVICE
|
||||||
|
|
||||||
/* Enable EC backed Keyboard Backlight in ACPI */
|
/* Enable EC backed Keyboard Backlight in ACPI */
|
||||||
#define EC_ENABLE_KEYBOARD_BACKLIGHT
|
#define EC_ENABLE_KEYBOARD_BACKLIGHT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue