summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2020-05-28 11:25:44 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-29 01:10:58 +0000
commit5c24bd7c18c565ce2632fd0111d36931f58cb95e (patch)
treefb1404920057d43004c2482cad7c197a7891cdcf
parentfda7ea9671ce6b7d7d1bdc47ef3dbfd8cbffd971 (diff)
downloadchrome-ec-5c24bd7c18c565ce2632fd0111d36931f58cb95e.tar.gz
Volteer: Turn off display backlight on lid close
Enable CONFIG_BACKLIGHT_LID so that EC can turn off display backlight when the lid is closed. BUG=b:155882590 BRANCH=None TEST=Backlight LED is turned off on lid close Change-Id: I4b9606d36c646bd3f5549bed05e8a4f7426e07c5 Signed-off-by: Ayushee <ayushee.shah@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2220155 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--baseboard/volteer/baseboard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h
index c8f9319da8..c7b2d17ef9 100644
--- a/baseboard/volteer/baseboard.h
+++ b/baseboard/volteer/baseboard.h
@@ -132,6 +132,10 @@
/* Common LED defines */
#define CONFIG_LED_COMMON
+/* EDP back-light control defines */
+#define CONFIG_BACKLIGHT_LID
+#define GPIO_ENABLE_BACKLIGHT GPIO_EC_EDP_BL_EN
+
/* USB Type C and USB PD defines */
/* Enable the new USB-C PD stack */
/* TODO: b/145756626 - re-enable once all blocking issues resolved */