linux-mips
[Top] [All Lists]

Driver for the S1 button of rb532

To: Dmitry Torokhov <dtor@mail.ru>
Subject: Driver for the S1 button of rb532
From: Phil Sutter <n0-1@freewrt.org>
Date: Thu, 22 Jan 2009 20:12:06 +0100
Cc: linux-input@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,

I've written a polled input device driver for the S1 button built into
the Routerboard 532. Sadly, the gpio-keys driver can't be used, as it
turns on the GPIO as interrupt source (which then has to stay configured
for this use), which would render the serial console unusable as it uses
the same pin in alternate function mode.

I've split up the changes into two parts to divide BSP changes from the
actual driver.

Greetings, Phil

<Prev in Thread] Current Thread [Next in Thread>
  • Driver for the S1 button of rb532, Phil Sutter <=