]> git.baikalelectronics.ru Git - kernel.git/commit
sh: SuperH KEYSC platform driver
authorMagnus Damm <magnus.damm@gmail.com>
Tue, 4 Mar 2008 23:23:45 +0000 (15:23 -0800)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 18 Apr 2008 16:50:00 +0000 (09:50 -0700)
commitec2cfe6308be979a8aa895d9f720135a48624533
tree59e4c5ad82e0df7d20c04cd40028de197d0adb58
parentbf13a71aabb4a18b98413bff6b9bb7c129f8be81
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>
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Makefile
drivers/input/keyboard/sh_keysc.c [new file with mode: 0644]
include/asm-sh/sh_keysc.h [new file with mode: 0644]