summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2019-06-26 12:17:37 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-02 02:07:58 +0000
commitcd551f358fb00379ff9b539a840b17a2c56e0b61 (patch)
tree54167253d58286ae197a624b7096bd70304acf3d /include
parenta2454fb3674c948fa0eb78a305cfb184c3fade60 (diff)
downloadchrome-ec-cd551f358fb00379ff9b539a840b17a2c56e0b61.tar.gz
hatch/helios/kindred/kohaku: Enable EC-based display backlight control
This patch allows EC to override display backlight control for hatch family. Also enable CONFIG_BACKLIGHT_LID so that EC can specifically turn off display backlight when the lid is closed. BUG=b:135511415 BRANCH=none TEST=On hatch rev1 board, turn off/on display backlight by 'ectool backlight 0' and 'ectool backlight 1' TEST='emerge-hatch chromeos-ec' Change-Id: I894ef2879fb584ccf84cd643cc4c0cd5fdcb8525 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1679047 Reviewed-by: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Commit-Queue: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
index f6d8792021..9c88792f12 100644
--- a/include/config.h
+++ b/include/config.h
@@ -326,8 +326,8 @@
* Support controlling the display backlight based on the state of the lid
* switch. The EC will disable the backlight when the lid is closed.
*
- * The GPIO should be named GPIO_BACKLIGHT_ENABLED if active high, or
- * GPIO_BACKLIGHT_ENABLED_L if active low. See CONFIG_BACKLIGHT_LID_ACTIVE_LOW.
+ * The GPIO should be named GPIO_ENABLE_BACKLIGHT if active high, or
+ * GPIO_ENABLE_BACKLIGHT_L if active low. See CONFIG_BACKLIGHT_LID_ACTIVE_LOW.
*/
#undef CONFIG_BACKLIGHT_LID