diff mbox

[U-Boot,23/28] input: Add a Kconfig option for the i8042 keyboard

Message ID 1441773171-4575-24-git-send-email-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Sept. 9, 2015, 4:32 a.m. UTC
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 <sjg@chromium.org>
---

 drivers/input/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Bin Meng Sept. 15, 2015, 6:12 a.m. UTC | #1
On Wed, Sep 9, 2015 at 12:32 PM, Simon Glass <sjg@chromium.org> wrote:
> 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 <sjg@chromium.org>
> ---
>
>  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.
> --

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox

Patch

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.