summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-09-14 10:49:42 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-14 02:04:33 +0000
commitbc86a12b50fe223f312ca29f9327e2babf6385a4 (patch)
treed6dc91d4a562b9cf319de6b1aa758800f6a4fe54
parent4f6abb2b0a3aaa6e57eed6d9599f15780e46312a (diff)
downloadchrome-ec-bc86a12b50fe223f312ca29f9327e2babf6385a4.tar.gz
nivviks: Add keyboard config for recovery mode
Add keyboard configs to enable entering recovery mode via 'Esc'/'Refresh'/power-btn. BUG=b:246657903 TEST=zmake build nivviks; flash & run BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I79a6589ed693deedcf88841051c44e495d70196b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3893304 Reviewed-by: Reka Norman <rekanorman@chromium.org>
-rw-r--r--zephyr/projects/nissa/nivviks/prj.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/projects/nissa/nivviks/prj.conf b/zephyr/projects/nissa/nivviks/prj.conf
index 1a38a3adec..db62bfe7a4 100644
--- a/zephyr/projects/nissa/nivviks/prj.conf
+++ b/zephyr/projects/nissa/nivviks/prj.conf
@@ -19,6 +19,9 @@ CONFIG_PLATFORM_EC_ACCEL_LIS2DW12=y
# Keyboard
CONFIG_CROS_KB_RAW_NPCX=y
CONFIG_PLATFORM_EC_KBLIGHT_ENABLE_PIN=y
+# Ensure recovery key combination (esc+refresh+power) is reliable
+CONFIG_PLATFORM_EC_KEYBOARD_PWRBTN_ASSERTS_KSI3=y
+CONFIG_PLATFORM_EC_KEYBOARD_REFRESH_ROW3=y
# TCPC+PPC: both C0 and C1 (if present) are RAA489000
CONFIG_PLATFORM_EC_USB_PD_TCPM_RAA489000=y