summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.keyboard
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2022-01-25 17:06:30 -0700
committerCommit Bot <commit-bot@chromium.org>2022-01-27 23:58:12 +0000
commit6b0d615b12d6696f7620902c714dae2940d8d474 (patch)
tree167ac69669027dadd5574ffd9b28955d2d8723ba /zephyr/Kconfig.keyboard
parent7ba2a8d4f4ee0fdab6e255aa4fa1e05516e458aa (diff)
downloadchrome-ec-6b0d615b12d6696f7620902c714dae2940d8d474.tar.gz
Zephyr: Add Kconfig for keyboard debug
Early in board bringup on systems with no SoC, it can be nice to have keyboard debugs enabled. However, ensure the feature is turned off on more mature boards. BRANCH=None BUG=None TEST=compile guybrush with config and verify it gets set to "n", compile skyrim and ensure it builds Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I2c4465f1e83231ad0f22984577b382f3e02cd370 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3415383 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r--zephyr/Kconfig.keyboard8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard
index b9e27e92ef..de577bbe75 100644
--- a/zephyr/Kconfig.keyboard
+++ b/zephyr/Kconfig.keyboard
@@ -48,6 +48,14 @@ config PLATFORM_EC_KEYBOARD_PROTOCOL_MKBP
endchoice # PLATFORM_EC_KEYBOARD
+config PLATFORM_EC_KEYBOARD_DEBUG
+ bool "Enable keyboard debug prints"
+ depends on PLATFORM_EC_SYSTEM_UNLOCKED
+ help
+ Enable keyboard debug prints to show up in early bringup, for example
+ if the board is currently headless and keyboard functionality is being
+ checked.
+
config PLATFORM_EC_KEYBOARD_KEYPAD
bool "Support a numeric keypad"
help