summaryrefslogtreecommitdiff
path: root/zephyr/projects/it8xxx2_evb/prj.conf
diff options
context:
space:
mode:
authortim <tim2.lin@ite.corp-partner.google.com>2021-04-26 11:49:59 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-30 16:10:06 +0000
commitb802d7964f2c82d594ee8b0742f9d766aaa1e72b (patch)
treefe911c6330e8cc8038bb9f8b7e88e6bc450e1cdd /zephyr/projects/it8xxx2_evb/prj.conf
parent88ac4884925fa740dd8745eed580557208ae24ae (diff)
downloadchrome-ec-b802d7964f2c82d594ee8b0742f9d766aaa1e72b.tar.gz
zephyr: it8xxx2_evb: enable power button
Enable the power button module and interrupt. BUG=b:185202623 BRANCH=none TEST=trigger GPIO_POWER_BUTTON_L, see UART print [12.660000 power button pressed] [12.969000 power button released] Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com> Change-Id: I538acf6ead3eb06abdf84ed14a52c81412a342e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2850301 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/it8xxx2_evb/prj.conf')
-rw-r--r--zephyr/projects/it8xxx2_evb/prj.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/zephyr/projects/it8xxx2_evb/prj.conf b/zephyr/projects/it8xxx2_evb/prj.conf
index 143a19a2e7..fefd3ade44 100644
--- a/zephyr/projects/it8xxx2_evb/prj.conf
+++ b/zephyr/projects/it8xxx2_evb/prj.conf
@@ -16,6 +16,9 @@ CONFIG_PLATFORM_EC_FLASH_CROS=y
# Lid switch
CONFIG_PLATFORM_EC_LID_SWITCH=y
+# Power button
+CONFIG_PLATFORM_EC_POWER_BUTTON=y
+
# Logging
CONFIG_LOG=y
@@ -25,7 +28,6 @@ CONFIG_PLATFORM_EC_BACKLIGHT_LID=n
CONFIG_PLATFORM_EC_BOARD_VERSION=n
CONFIG_PLATFORM_EC_I2C=n
CONFIG_PLATFORM_EC_KEYBOARD=n
-CONFIG_PLATFORM_EC_POWER_BUTTON=n
CONFIG_PLATFORM_EC_SWITCH=n
CONFIG_PLATFORM_EC_VBOOT=n
CONFIG_PLATFORM_EC_VBOOT_HASH=n