diff options
author | Sue Chen <sue.chen@quanta.corp-partner.google.com> | 2021-06-17 10:55:55 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-17 08:57:27 +0000 |
commit | 50f86ad11ff688c5839c40315b2983906545f1af (patch) | |
tree | c134448c3d1cc74f854b3f1582870bd27d761066 /board/cherry | |
parent | 0e094c470a8b8a3f80a33f193b9dceb3d2cc5e74 (diff) | |
download | chrome-ec-50f86ad11ff688c5839c40315b2983906545f1af.tar.gz |
Tomato: define GPIO_EN_KEYBOARD_BACKLIGHT
It should set GPIO_EN_KB_BL low to turn off keyboard backlight
while setting pwm duty to 0%.
BUG=none
BRANCH=none
TEST=EC console "kblight 0" can turn off keyboard backlight
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I45e4b539ac77a28b5078455a7b4d601c4bc9b3ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2966690
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/cherry')
-rw-r--r-- | board/cherry/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/cherry/board.h b/board/cherry/board.h index e60f8104bb..368f4fcd96 100644 --- a/board/cherry/board.h +++ b/board/cherry/board.h @@ -38,6 +38,9 @@ #define CONFIG_BATT_FULL_CHIPSET_OFF_INPUT_LIMIT_MV 9000 +/* Keyboard */ +#define GPIO_EN_KEYBOARD_BACKLIGHT GPIO_EN_KB_BL + /* Sensor */ #define CONFIG_GMR_TABLET_MODE #define CONFIG_TABLET_MODE |