From fa985803d6bd7c76b8eddc49d1bab4434cc545f3 Mon Sep 17 00:00:00 2001 From: Boris Mittelberg Date: Tue, 13 Apr 2021 22:49:42 +0000 Subject: mkbp: Move key simulation to input devices Today some platforms include MKBP_KEYBOARD because they use side buttons, switches or other events that share the same driver with MKBP keyboard. Those platforms don't enable KEYSCAN task. The CL is moving key emulation functionality to MKBP input devices, to make a clear separation between the real keyboard usage and emulation/buttons/switches/etc. All boards that were selecting `CONFIG_KEYBOARD_PROTOCOL_MKBP` without KEYSCAN task are now updated to select `CONFIG_MKBP_INPUT_DEVICES` BUG=b:170966461 BRANCH=main,firmware-dedede-13606.B,firmware-volteer-13672.B-main TEST=None Signed-off-by: Boris Mittelberg Change-Id: I515140ebf6e175f4b29991329f92266ffca232a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2824044 --- board/puff/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/puff') diff --git a/board/puff/board.h b/board/puff/board.h index 10885d8449..11d6deaae3 100644 --- a/board/puff/board.h +++ b/board/puff/board.h @@ -34,7 +34,7 @@ #define CONFIG_CROS_BOARD_INFO #define CONFIG_EMULATED_SYSRQ #undef CONFIG_KEYBOARD_BOOT_KEYS -#define CONFIG_KEYBOARD_PROTOCOL_MKBP +#define CONFIG_MKBP_INPUT_DEVICES #define CONFIG_MKBP_USE_HOST_EVENT #undef CONFIG_KEYBOARD_RUNTIME_KEYS #undef CONFIG_HIBERNATE -- cgit v1.2.1