diff options
author | tim <tim2.lin@ite.corp-partner.google.com> | 2021-04-29 11:00:21 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-30 16:09:59 +0000 |
commit | 88ac4884925fa740dd8745eed580557208ae24ae (patch) | |
tree | 58bea6ee58b97752338317da256a9fbaaee5e3ea /zephyr/projects/it8xxx2_evb/prj.conf | |
parent | e2be949ac4712a721c6b635c069a550a7fe6f1e4 (diff) | |
download | chrome-ec-88ac4884925fa740dd8745eed580557208ae24ae.tar.gz |
zephyr: it8xxx2_evb: enable lid switch
Enable the lid switch GPIO and module.
BUG=b:185202623
BRANCH=none
TEST=trigger GPIO_LID_OPEN, observe UART prints
[21.986000 event set 0x0000000000000001]
[22.374000 lid open]
[22.378000 event set 0x0000000000000002]
[23.265000 lid close]
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Change-Id: Ib7121240309a02de9ee7c342ff7c6005d5fa522b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2850300
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.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zephyr/projects/it8xxx2_evb/prj.conf b/zephyr/projects/it8xxx2_evb/prj.conf index 93366b465c..143a19a2e7 100644 --- a/zephyr/projects/it8xxx2_evb/prj.conf +++ b/zephyr/projects/it8xxx2_evb/prj.conf @@ -13,6 +13,9 @@ CONFIG_AP_ARM_MTK_MT8192=y # Flash CONFIG_PLATFORM_EC_FLASH_CROS=y +# Lid switch +CONFIG_PLATFORM_EC_LID_SWITCH=y + # Logging CONFIG_LOG=y @@ -22,7 +25,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_LID_SWITCH=n CONFIG_PLATFORM_EC_POWER_BUTTON=n CONFIG_PLATFORM_EC_SWITCH=n CONFIG_PLATFORM_EC_VBOOT=n |