linux-stable/drivers/input/misc
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
..
apanel.c Input: apanel - convert to new i2c binding 2009-01-07 14:29:17 +01:00
ati_remote.c USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
ati_remote2.c Input: ati_remote2 - check module params 2009-01-29 23:43:42 -08:00
atlas_btns.c
cm109.c Input: cm109 - add keymap for ATCom AU-100 phone 2008-11-11 14:02:13 -05:00
cobalt_btns.c Input: cobalt_btns - add missing MODULE_LICENSE 2008-08-18 11:00:37 -04:00
hp_sdc_rtc.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
ixp4xx-beeper.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
keyspan_remote.c Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
m68kspkr.c
Makefile Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
pcf50633-input.c input: PCF50633 input driver 2009-01-11 01:34:25 +01:00
pcspkr.c Input: pcspkr - fix PIT lockup on some chipsets 2008-11-19 16:54:59 -05:00
powermate.c Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
rb532_button.c Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
rotary_encoder.c Input: generic driver for rotary encoders on GPIOs 2009-03-08 16:35:53 -07:00
sgi_btns.c INPUT: sgi_btns: Add license specification 2008-10-27 16:18:28 +00:00
sparcspkr.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
uinput.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
wistron_btns.c Input: wistron - add support for Fujitsu-Siemens Amilo Pro v3505 2008-08-08 12:19:14 -04:00
yealink.c USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
yealink.h