aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-02-25 17:08:41 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-05 05:20:13 -0400
commit6af6dc2d2aa654e928ed0a64c28724d1cd2c36c1 (patch)
tree323ea72f7fe7d9fb897865ee47184d84ca52c318 /drivers/input/keyboard/Kconfig
parent43840415339f1600f281211cfb5400fab696536e (diff)
input: Add ChromeOS EC keyboard driver
Use the key-matrix layer to interpret key scan information from the EC and inject input based on the FDT-supplied key map. This driver registers itself with the ChromeOS EC driver to perform communications. The matrix-keypad FDT binding is used with a small addition to control ghosting. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Luigi Semenzato <semenzato@chromium.org> Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/input/keyboard/Kconfig')
-rw-r--r--drivers/input/keyboard/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index ac0500667000..6a195d5e90ff 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -628,4 +628,16 @@ config KEYBOARD_W90P910
628 To compile this driver as a module, choose M here: the 628 To compile this driver as a module, choose M here: the
629 module will be called w90p910_keypad. 629 module will be called w90p910_keypad.
630 630
631config KEYBOARD_CROS_EC
632 tristate "ChromeOS EC keyboard"
633 select INPUT_MATRIXKMAP
634 depends on MFD_CROS_EC
635 help
636 Say Y here to enable the matrix keyboard used by ChromeOS devices
637 and implemented on the ChromeOS EC. You must enable one bus option
638 (MFD_CROS_EC_I2C or MFD_CROS_EC_SPI) to use this.
639
640 To compile this driver as a module, choose M here: the
641 module will be called cros_ec_keyb.
642
631endif 643endif