summaryrefslogtreecommitdiff
path: root/board/helios
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 /board/helios
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 'board/helios')
-rw-r--r--board/helios/gpio.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/helios/gpio.inc b/board/helios/gpio.inc
index a3c37362fd..b188baf783 100644
--- a/board/helios/gpio.inc
+++ b/board/helios/gpio.inc
@@ -67,6 +67,7 @@ GPIO(LED_1_L, PIN(C, 4), GPIO_OUT_HIGH) /* Yellow (hatch
GPIO(LED_2_L, PIN(C, 3), GPIO_OUT_HIGH) /* White (hatch) */
GPIO(LED_3_L, PIN(C, 2), GPIO_OUT_HIGH)
GPIO(EC_KB_BL_EN, PIN(8, 6), GPIO_OUT_LOW) /* Keyboard backlight */
+GPIO(EDP_BKLTEN_OD, PIN(D, 3), GPIO_ODR_HIGH) /* Display backlight */
GPIO(EN_PP5000_FAN, PIN(6, 1), GPIO_OUT_LOW)
/* I2C pins - Alternate function below configures I2C module on these pins */