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 --- baseboard/kukui/baseboard.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'baseboard/kukui/baseboard.h') diff --git a/baseboard/kukui/baseboard.h b/baseboard/kukui/baseboard.h index 9aa1362534..f4869ce943 100644 --- a/baseboard/kukui/baseboard.h +++ b/baseboard/kukui/baseboard.h @@ -239,8 +239,6 @@ #undef CONFIG_PSTORE #define CONFIG_TASK_PROFILING -#define CONFIG_KEYBOARD_PROTOCOL_MKBP -#define CONFIG_MKBP_EVENT #define CONFIG_MKBP_USE_GPIO /* -- cgit v1.2.1