diff options
author | Boris Mittelberg <bmbm@google.com> | 2021-03-30 19:41:07 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-10 22:34:45 +0000 |
commit | 3a2f77758104a581ade2ecb406b8d099eada6a90 (patch) | |
tree | e1e958329a24189d8ee5fe0120632e4b03682a94 /zephyr/Kconfig | |
parent | ddf11157cd952a6df79aefc06c456eea426b6f10 (diff) | |
download | chrome-ec-3a2f77758104a581ade2ecb406b8d099eada6a90.tar.gz |
mkbp: EC buttons and switches via MKBP
Allowing EC buttons and switches to be signaled via MKBP protocol, using
CONFIG_MKBP_INPUT_DEVICES. Default behaviour is unchanged.
BUG=b:170966461
BRANCH=main,firmware-dedede-13606.B,firmware-volteer-13672.B-main
TEST=None
Signed-off-by: Boris Mittelberg <bmbm@google.com>
Cq-Depend: chromium:2824044
Change-Id: Ib96f98ecb3717a8ee8963be69fb7d7eb72e6d132
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2796382
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 082f671888..c52a72de9d 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -363,6 +363,13 @@ config PLATFORM_EC_LID_SWITCH This requires a GPIO named GPIO_LID_OPEN to be defined in gpio_map.h. +config PLATFORM_EC_MKBP_INPUT_DEVICES + bool "Input devices via MKBP" + help + Enable passing events from various input sources to AP via MKBP. + This include buttons (power, volume); switches (lid, tablet mode) + and sysrq. + config PLATFORM_EC_LOW_POWER_IDLE bool default y if PM |