diff options
author | Sriramakrishnan Govindarajan <srk@ti.com> | 2010-05-04 02:47:12 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-05-04 02:50:42 -0400 |
commit | 30ba3ead05763b172acaa65ae1be71af2a878940 (patch) | |
tree | cbbcfb494df9f73705b66324ba419118ca3b792e /drivers/input/keyboard/Kconfig | |
parent | 16b32e0c9eec1bb8d53deedcd9f4704a114d84bb (diff) |
Input: add keypad driver for keys interfaced to TCA6416
This patch implements a simple Keypad driver that functions
as an I2C client. It handles key press events for keys
connected to TCA6416 I2C based IO expander.
Signed-off-by: Sriramakrishnan <srk@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/Kconfig')
-rw-r--r-- | drivers/input/keyboard/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index a8293388d019..3525f533e186 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig | |||
@@ -179,6 +179,22 @@ config KEYBOARD_GPIO | |||
179 | To compile this driver as a module, choose M here: the | 179 | To compile this driver as a module, choose M here: the |
180 | module will be called gpio_keys. | 180 | module will be called gpio_keys. |
181 | 181 | ||
182 | config KEYBOARD_TCA6416 | ||
183 | tristate "TCA6416 Keypad Support" | ||
184 | depends on I2C | ||
185 | help | ||
186 | This driver implements basic keypad functionality | ||
187 | for keys connected through TCA6416 IO expander | ||
188 | |||
189 | Say Y here if your device has keys connected to | ||
190 | TCA6416 IO expander. Your board-specific setup logic | ||
191 | must also provide pin-mask details(of which TCA6416 pins | ||
192 | are used for keypad). | ||
193 | |||
194 | If enabled the complete TCA6416 device will be managed through | ||
195 | this driver. | ||
196 | |||
197 | |||
182 | config KEYBOARD_MATRIX | 198 | config KEYBOARD_MATRIX |
183 | tristate "GPIO driven matrix keypad support" | 199 | tristate "GPIO driven matrix keypad support" |
184 | depends on GENERIC_GPIO | 200 | depends on GENERIC_GPIO |