- 15 5月, 2014 1 次提交
-
-
由 Andy Shevchenko 提交于
This patch converts descriptions of the structures defined in linux/gpio_keys.h to follow kernel-doc format. There is no functional change. Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 20 3月, 2012 1 次提交
-
-
由 Laxman Dewangan 提交于
Some of buttons, like power-on key or onkey, may only generate interrupts when pressed and not actually be mapped as gpio in the system. Allow setting gpio to invalid value and specify IRQ instead to support such keys. The debounce timer is used not to debounce but to ignore new IRQs coming while button is kept pressed. Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 02 2月, 2012 1 次提交
-
-
由 Heiko Stübner 提交于
A struct device parameter is used in the enable and disable callbacks to distinguish between different gpio_keys devices. Platforms that don't use these callbacks may not include struct device at all, as seen on arch/arm/mach-s3c2410/mach-n30.c Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 4月, 2011 2 次提交
-
-
由 Alexander Stein 提交于
This patch allows to set a device name which helps distinguishing several gpio-keys devices. Signed-off-by: NAlexander Stein <alexander.stein@informatik.tu-chemnitz.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Alexander Stein 提交于
With this patch you can setup a group of GPIOs representing a specific position on an EV_ABS axis. Signed-off-by: NAlexander Stein <alexander.stein@informatik.tu-chemnitz.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 07 12月, 2010 1 次提交
-
-
由 Gabor Juhos 提交于
The existing gpio-keys driver can be usable only for GPIO lines with interrupt support. Several devices have buttons connected to a GPIO line which is not capable to generate interrupts. This patch adds a new input driver using the generic GPIO layer and the input-polldev to support such buttons. [Ben Gardiner <bengardiner@nanometrics.ca: fold code to use more of the original gpio_keys infrastructure; cleanups and other improvements.] Signed-off-by: NGabor Juhos <juhosg@openwrt.org> Signed-off-by: NBen Gardiner <bengardiner@nanometrics.ca> Tested-by: NBen Gardiner <bengardiner@nanometrics.ca> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 04 8月, 2010 1 次提交
-
-
由 Shubhrajyoti D 提交于
Allow platform code to specify callbcks that will be invoked when input device is opened or closed, allowing, for example, to enable the device. Signed-off-by: NShubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 04 2月, 2010 1 次提交
-
-
由 Mika Westerberg 提交于
Now gpio-keys input driver exports 4 new attributes to userland through sysfs: /sys/devices/platform/gpio-keys/keys [ro] /sys/devices/platform/gpio-keys/switches [ro] /sys/devices/platform/gpio-keys/disabled_keys [rw] /sys/devices/platform/gpio-keys/disables_switches [rw] With these attributes, userland program can read which keys and switches can be disabled and then disable/enable them as needed. Keys and switches are exported as stringified bitmap of codes (keycodes or switch codes). For example keys 15, 89, 100, 101, 102 are exported as: '15,89,100-102'. Description of the attributes: keys - bitmap of keys which can be disabled switches - bitmap of switches which can be disabled disabled_keys - bitmap of currently disabled keys (bit 1 means disabled, 0 enabled) disabled_switches - bitmap of currently disabled switches (bit 1 means disabled, 0 enabled) Signed-off-by: NMika Westerberg <ext-mika.1.westerberg@nokia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 10月, 2008 1 次提交
-
-
由 Dominic Curran 提交于
This patch adds a flag to gpio-key driver to turn on the input subsystems auto repeat feature if needed. Signed-off-by: NDominic Curran <dcurran@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 17 5月, 2008 1 次提交
-
-
由 Dmitry Baryshkov 提交于
Signed-off-by: NDmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 26 9月, 2007 1 次提交
-
-
由 Anti Sullin 提交于
This patch adds suspend/resume support and enables wakeup from gpio_keys buttons. Signed-off-by: NAnti Sullin <anti.sullin@artecdesign.ee> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 5月, 2007 1 次提交
-
-
由 Roman Moravcik 提交于
Signed-off-by: NRoman Moravcik <roman.moravcik@gmail.com> Signed-off-by: NPaul Sokolovsky <pmiscml@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 3月, 2007 1 次提交
-
-
由 David Brownell 提交于
The gpio_keys driver is wrongly ARM-specific; it can't build on other platforms with GPIO suport. This fixes that problem. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: pHilipp Zabel <philipp.zabel@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Ben Nizette <ben.nizette@iinet.net.au> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 18 1月, 2007 1 次提交
-
-
由 Phil Blundell 提交于
This is an interrupt-driven keyboard driver for simple buttons connected directly to CPU GPIO lines of embedded ARM systems. It supports pxa architectures and is used by a number of PDAs and PocketPC phones in the handhelds.org kernel. Support for other architectures, such as sa11xx and sc2410, will be added once generic GPIO API is available. Signed-off-by: NPaul Sokolovsky <pmiscml@gmail.com> Signed-off-by: NPhilipp Zabel <philipp.zabel@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-