summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.keyboard
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2023-03-14 18:32:38 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-16 04:42:27 +0000
commit95d4954a93e9d19f6b13caab240c7f5855adca17 (patch)
tree416f3d5460fc54c38ee260e3a479050d315b77e9 /zephyr/Kconfig.keyboard
parent6aaca42c18798471313f2e5d9c2c9327fba6133b (diff)
downloadchrome-ec-95d4954a93e9d19f6b13caab240c7f5855adca17.tar.gz
zephyr/Kconfig: allow keyboard protocol be optional
Keyboard EC needs keyscan but does not talk directly to AP. In terms of config option, this is PLATFORM_EC_KEYBOARD=y and PLATFORM_EC_KEYBOARD_PROTOCOL_MODE=none. Update Kconfig to allow this combination. BUG=b:269989432 TEST=1. `zmake compare-builds --all` no change for existing devices 2. `zmake build roach --clobber` with CL:4269915 chain BRANCH=none Change-Id: Iac0b79b767df46a68eefd654faf0177e4137d149 Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4339258 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r--zephyr/Kconfig.keyboard1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard
index 3a29bcb6a4..05a024725c 100644
--- a/zephyr/Kconfig.keyboard
+++ b/zephyr/Kconfig.keyboard
@@ -32,6 +32,7 @@ config CROS_EC_KEYSCAN
choice PLATFORM_EC_KEYBOARD_PROTOCOL_MODE
prompt "Select the keyboard protocol to use"
+ depends on AP
help
Select the keyboard protocol used to communicate key presses to the
AP. PLATFORM_EC_KEYBOARD_PROTOCOL_8042 is supported by x86-compatible