diff options
author | Furquan Shaikh <furquan@google.com> | 2018-04-30 19:10:49 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-02 22:20:50 -0700 |
commit | 24c077476d8263d9257b5840d4e502d5692c8b73 (patch) | |
tree | c29013f6df987ba487078dab32719a1794968dd1 /board/yorp/gpio.inc | |
parent | c44f56739a671b188081979d159638f107b281d9 (diff) | |
download | chrome-ec-24c077476d8263d9257b5840d4e502d5692c8b73.tar.gz |
yorp: Control backlight based on chipset transitions
This change enables/disables backlight based on the chipset state
transition.
BUG=b:78897667
BRANCH=None
TEST=None
Change-Id: I4da331cb94f7a304a76fce93b73c38016f5b0f4d
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1036798
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'board/yorp/gpio.inc')
-rw-r--r-- | board/yorp/gpio.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/yorp/gpio.inc b/board/yorp/gpio.inc index 83c83a731b..bd503be07e 100644 --- a/board/yorp/gpio.inc +++ b/board/yorp/gpio.inc @@ -59,6 +59,7 @@ GPIO(PP3300_PG, PIN(6, 0), GPIO_INPUT) /* PP3300_PG_OD */ GPIO(PMIC_EN, PIN(7, 2), GPIO_OUT_LOW) /* Enable A Rails via PMIC */ GPIO(PCH_RSMRST_L, PIN(C, 2), GPIO_OUT_LOW) /* RSMRST# to SOC. All _A rails now up. */ GPIO(PCH_SYS_PWROK, PIN(B, 7), GPIO_OUT_LOW) /* EC_PCH_PWROK. All S0 rails now up. */ +GPIO(ENABLE_BACKLIGHT, PIN(D, 3), GPIO_ODR_HIGH | GPIO_SEL_1P8V) /* EC_BL_EN_OD */ GPIO(EC_BATT_PRES_L, PIN(E, 5), GPIO_INPUT) |