diff options
author | Philip Chen <philipchen@google.com> | 2019-06-26 12:17:37 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-02 02:07:58 +0000 |
commit | cd551f358fb00379ff9b539a840b17a2c56e0b61 (patch) | |
tree | 54167253d58286ae197a624b7096bd70304acf3d /board/kindred/gpio.inc | |
parent | a2454fb3674c948fa0eb78a305cfb184c3fade60 (diff) | |
download | chrome-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/kindred/gpio.inc')
-rw-r--r-- | board/kindred/gpio.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/kindred/gpio.inc b/board/kindred/gpio.inc index 63ac5a2271..cac7cde055 100644 --- a/board/kindred/gpio.inc +++ b/board/kindred/gpio.inc @@ -72,6 +72,7 @@ GPIO(LED_2_L, PIN(C, 3), GPIO_OUT_HIGH) /* White (hatch) GPIO(LED_3_L, PIN(C, 2), GPIO_OUT_HIGH) GPIO(LED_4_L, PIN(6, 0), 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) GPIO(EN_MST, PIN(9, 6), GPIO_OUT_LOW) |