summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-07-21 16:13:41 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-21 23:40:24 +0000
commitce3a41fe1a9ec7e69fa790d05fa8fd8a1de2f145 (patch)
treedf7f82d4033cb76eaacb163700e2dc31f8409365
parent9dde9ca48b4dceb0ea2155c87a83fe691d61f8be (diff)
downloadchrome-ec-ce3a41fe1a9ec7e69fa790d05fa8fd8a1de2f145.tar.gz
Guybrush: Enable CONFIG_BACKLIGHT_LID
Guybrush has the GPIO set up for backlight disable, but doesn't have the config set and so we're not compiling in the code to actually disable backlight on lid close. BRANCH=None BUG=b:194326578 TEST=on guybrush, open and boot to confirm backlight is on. Close with the system in S0 and confirm it goes off Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: If707525d9f4bb98a577f75e7017beae03638726c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044410 Reviewed-by: Rob Barnes <robbarnes@google.com> Commit-Queue: Rob Barnes <robbarnes@google.com>
-rw-r--r--baseboard/guybrush/baseboard.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/baseboard/guybrush/baseboard.h b/baseboard/guybrush/baseboard.h
index f9bdf8e8c0..1f8bf58094 100644
--- a/baseboard/guybrush/baseboard.h
+++ b/baseboard/guybrush/baseboard.h
@@ -131,6 +131,11 @@
#define CONFIG_ACCEL_FORCE_MODE_MASK (1 << LID_ACCEL)
#endif
+/* Backlight config */
+#define CONFIG_BACKLIGHT_LID
+#define CONFIG_BACKLIGHT_LID_ACTIVE_LOW
+#define GPIO_ENABLE_BACKLIGHT_L GPIO_EC_DISABLE_DISP_BL
+
/* Battery Config */
#define CONFIG_BATTERY_PRESENT_GPIO GPIO_EC_BATT_PRES_ODL
#define CONFIG_BATTERY_CUT_OFF