kernel-fxtec-pro1x/arch/mips
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
..
alchemy MIPS: Alchemy: In plat_time_init() t reaches -1, tested: 0 2009-02-27 17:56:34 +00:00
basler/excite
bcm47xx
boot
cavium-octeon MIPS: Octeon: Remove duplicated #includes 2009-01-30 21:32:57 +00:00
cobalt
configs MIPS: IP27: Switch from DMA_IP27 to DMA_COHERENT 2009-01-30 21:32:58 +00:00
dec mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
emma MIPS: Markeins: Remove unnecessary define and cleanup comments, etc. 2008-10-27 16:18:31 +00:00
fw
gt64120/wrppmc
include/asm Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
jazz cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
kernel Revert "MIPS: Print irq handler description" 2009-02-27 17:56:35 +00:00
lasat sysctl: simplify ->strategy 2008-10-16 11:21:47 -07:00
lemote/lm2e MIPS: lemote/lm2e: Added io_map_base to pci controller 2008-10-27 16:18:31 +00:00
lib MIPS: IP27: Switch from DMA_IP27 to DMA_COHERENT 2009-01-30 21:32:58 +00:00
math-emu MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
mipssim
mm MIPS: CVE-2009-0029: Enable syscall wrappers. 2009-02-27 17:56:35 +00:00
mti-malta cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
nxp cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
pci MIPS: RC32434: Define io_map_base for PCI controller 2009-01-30 21:32:59 +00:00
pmc-sierra trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
rb532 Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
sgi-ip22 MIPS: IP22: ip22-int.c header file weeding. 2008-10-27 16:18:28 +00:00
sgi-ip27 cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
sgi-ip32
sibyte cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
sni cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
txx9 MIPS: TXx9: Add support for TX4939 internal RTC 2009-01-30 21:32:58 +00:00
vr41xx
Kconfig MIPS: CVE-2009-0029: Enable syscall wrappers. 2009-02-27 17:56:35 +00:00
Kconfig.debug MIPS: Kconfig: Fix the arch-specific header path 2008-12-12 18:12:23 +00:00
Makefile MIPS: Alchemy: Move development board code to common subdirectory 2009-01-11 09:57:25 +00:00