diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-06-17 18:39:39 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-28 18:37:47 +0000 |
commit | b13e3b69fda40e60b33cc9963e8f05916f1f56b9 (patch) | |
tree | 06b1502add60fa0468d6a8475eb09545b406ebb1 /zephyr/projects/npcx_evb/npcx7/prj.conf | |
parent | 5a3123ae33b5208b83698dd837f0ac57e4da8a91 (diff) | |
download | chrome-ec-b13e3b69fda40e60b33cc9963e8f05916f1f56b9.tar.gz |
zephyr: npcx_evb: Enable external power presence detection via GPIO
Enable the extpower_gpio.c module and connect the corresponding GPIOs
and interrupts for npcx7/9_evb.
BUG=none
BRANCH=none
TEST=saw the host event information when toggle the AC_PRESENT gpio
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: Ib9a74bffb34fdfca8ec307abfd33a4d09a960843
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058716
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/npcx_evb/npcx7/prj.conf')
-rw-r--r-- | zephyr/projects/npcx_evb/npcx7/prj.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/npcx_evb/npcx7/prj.conf b/zephyr/projects/npcx_evb/npcx7/prj.conf index 04f287d025..5bc2922e47 100644 --- a/zephyr/projects/npcx_evb/npcx7/prj.conf +++ b/zephyr/projects/npcx_evb/npcx7/prj.conf @@ -5,6 +5,7 @@ CONFIG_CROS_EC=y CONFIG_PLATFORM_EC=y CONFIG_PLATFORM_EC_BRINGUP=y +CONFIG_PLATFORM_EC_EXTPOWER_GPIO=y CONFIG_PLATFORM_EC_LID_SWITCH=y CONFIG_PLATFORM_EC_POWER_BUTTON=y CONFIG_SHIMMED_TASKS=y |