linux-stable/drivers/input
Phil Sutter d9bdffd210 Input: add driver for S1 button of rb532
Mikrotik's Routerboard 532 has two builtin buttons, from which one
triggers a hardware reset. The other one is accessible through GPIO
pin 1. Sadly, this pin is being multiplexed with UART0 input, so
enabling it as interrupt source (as implied by the gpio-keys driver)
is not possible unless UART0 has been turned off. The later one though
is a rather bad idea as the Routerboard is an embedded device with
only a single serial port, so it's almost always used as serial
console device.

This patch adds a driver based on INPUT_POLLDEV, which disables the
UART and reconfigures GPIO pin 1 temporarily while reading the button
state.  This procedure works fine and has been tested as part of
another, unpublished driver for this device.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-03-09 20:10:12 -07:00
..
gameport Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
joystick Input: add support for Maple controller as a joystick 2008-12-30 00:58:05 -08:00
keyboard Input: hilkbd - fix crash when removing hilkbd module 2009-03-08 16:35:45 -07:00
misc Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
mouse Merge commit 'v2.6.29-rc7' into next 2009-03-08 16:30:55 -07:00
serio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2009-03-02 15:43:03 -08:00
tablet Input: gtco - use USB endpoint API 2008-12-30 01:09:55 -08:00
touchscreen Input: add accelerated touchscreen support for Marvell Zylonite 2009-03-08 16:35:26 -07:00
apm-power.c
evbug.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
evdev.c Merge commit 'v2.6.28-rc9' into next 2008-12-20 04:54:54 -05:00
ff-core.c drivers/input/ff-core.c needs <linux/sched.h> 2008-07-02 18:40:08 -07:00
ff-memless.c input: replace spin_lock_bh with spin_lock_irqsave in ml_ff_playback 2008-11-30 10:36:51 -08:00
fixp-arith.h
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-polldev.c
input.c Input: fix polling of /proc/bus/input/devices 2009-03-08 16:34:55 -07:00
joydev.c Merge commit 'v2.6.28-rc9' into next 2008-12-20 04:54:54 -05:00
Kconfig
Makefile Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
mousedev.c Merge commit 'v2.6.28-rc9' into next 2008-12-20 04:54:54 -05:00
xen-kbdfront.c get xenbus_driver ->probe() "recognized" by modpost 2008-11-30 10:03:38 -08:00