diff options
author | YongBeum.Ha <ybha@samsung.corp-partner.google.com> | 2020-12-02 12:35:39 +0900 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-09 01:38:27 +0000 |
commit | db240bf9ab317cfc71ed1e8e6613b81b4e1afa4f (patch) | |
tree | 710ccfa99963b0453c4b500e23207ba6a3887c5d /baseboard | |
parent | e1718af45bb6fe5a7da9572280674122249ae2c1 (diff) | |
download | chrome-ec-db240bf9ab317cfc71ed1e8e6613b81b4e1afa4f.tar.gz |
sasuke : apply EC change in sasuke
Sync with schematics of sasuke
BUG=b:172869638
BRANCH=None
TEST=make BOARD=sasuke
Signed-off-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com>
Change-Id: Ib19431e2f4dd6b9da1e5f2e06a44883496bead54
Signed-off-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2569070
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Raymond Chung <raymondchung@ami.corp-partner.google.com>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/dedede/baseboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/baseboard/dedede/baseboard.c b/baseboard/dedede/baseboard.c index 5569dd93c3..b8dcd38a5f 100644 --- a/baseboard/dedede/baseboard.c +++ b/baseboard/dedede/baseboard.c @@ -213,16 +213,20 @@ void baseboard_all_sys_pgood_interrupt(enum gpio_signal signal) void baseboard_chipset_startup(void) { +#ifdef CONFIG_PWM_KBLIGHT /* Allow keyboard backlight to be enabled */ gpio_set_level(GPIO_EN_KB_BL, 1); +#endif } DECLARE_HOOK(HOOK_CHIPSET_STARTUP, baseboard_chipset_startup, HOOK_PRIO_DEFAULT); void baseboard_chipset_shutdown(void) { +#ifdef CONFIG_PWM_KBLIGHT /* Turn off the keyboard backlight if it's on. */ gpio_set_level(GPIO_EN_KB_BL, 0); +#endif } DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, baseboard_chipset_shutdown, HOOK_PRIO_DEFAULT); |