diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-03-04 18:23:45 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-04-18 12:50:00 -0400 |
commit | 795e6bf33561ff03e253a6a756d5eb663b4a56bd (patch) | |
tree | 59e4c5ad82e0df7d20c04cd40028de197d0adb58 /drivers/input/keyboard/Kconfig | |
parent | 253ba4e79edc695b2925bd2ef34de06ff4d4070c (diff) |
sh: SuperH KEYSC platform driver
Add a platform driver for the SuperH KEYSC block. The driver expects to get
mode, timing information and keypad layout from the board code as platform
data. The board code is resonsible for pin configuration.
Both sh7343 and sh7722 should be supported, but only the sh7722 processor has
been tested so far. SH_KEYSC_MODE_3 is yet to be tested.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/input/keyboard/Kconfig')
-rw-r--r-- | drivers/input/keyboard/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 8ea709be3306..efd70a974591 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig | |||
@@ -314,4 +314,13 @@ config KEYBOARD_BFIN | |||
314 | To compile this driver as a module, choose M here: the | 314 | To compile this driver as a module, choose M here: the |
315 | module will be called bf54x-keys. | 315 | module will be called bf54x-keys. |
316 | 316 | ||
317 | config KEYBOARD_SH_KEYSC | ||
318 | tristate "SuperH KEYSC keypad support" | ||
319 | depends on SUPERH | ||
320 | help | ||
321 | Say Y here if you want to use a keypad attached to the KEYSC block | ||
322 | on SuperH processors such as sh7722 and sh7343. | ||
323 | |||
324 | To compile this driver as a module, choose M here: the | ||
325 | module will be called sh_keysc. | ||
317 | endif | 326 | endif |