summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-08-17 20:12:28 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-08-20 15:55:38 +0000
commit20df17cc65d0fb7c72bd8ffcb5d88447eb6ec8cc (patch)
treea0cb9fe3608e4bb7f9fa2e6e69272ca665e8e656
parentc1cb6da81600f6ef71f114fc6bc56c90b090462d (diff)
atlas: enable keyboard backlight support
This adds support for controlling the keyboard backlight over ACPI. BUG=b:112619894 BRANCH=none TEST=verified keyboard backlight can be adjusted using keyboard shortcuts Change-Id: I25713f341e8b5a4e50903ac109bfa717f20969d8 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://review.coreboot.org/28205 Reviewed-by: Caveh Jalali <caveh@google.com> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/poppy/variants/atlas/include/variant/ec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/atlas/include/variant/ec.h b/src/mainboard/google/poppy/variants/atlas/include/variant/ec.h
index 22bcef58db..484510bf05 100644
--- a/src/mainboard/google/poppy/variants/atlas/include/variant/ec.h
+++ b/src/mainboard/google/poppy/variants/atlas/include/variant/ec.h
@@ -78,4 +78,7 @@
#define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */
#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */
+/* Enable EC backed Keyboard Backlight in ACPI */
+#define EC_ENABLE_KEYBOARD_BACKLIGHT
+
#endif /* __MAINBOARD_EC_H__ */