]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit795e6bf33561ff03e253a6a756d5eb663b4a56bd
tree59e4c5ad82e0df7d20c04cd40028de197d0adb58
parent253ba4e79edc695b2925bd2ef34de06ff4d4070c
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]