From b0abfeff982a022d8198ef526b96d57037fe0c14 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 11 Nov 2015 10:05:42 -0700 Subject: [PATCH] input: Add a Kconfig option for the i8042 keyboard Add a new option CONFIG_I8042_KEYB which will replace the current CONFIG_I8042_KBD. This new name fits better with existing drivers. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- drivers/input/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 447c4c3..d560328 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -13,3 +13,13 @@ config CROS_EC_KEYB Most ARM Chromebooks use an EC to provide access to the keyboard. Messages are used to request key scans from the EC and these are then decoded into keys by this driver. + +config I8042_KEYB + bool "Enable Intel i8042 keyboard support" + depends on DM_KEYBOARD + help + This adds a driver for the i8042 keyboard controller, allowing the + keyboard to be used on devices which support this controller. The + driver handles English and German keyboards - set the environment + variable 'keymap' to "de" to select German. Keyboard repeat is + handled by the keyboard itself.