- 21 1月, 2011 1 次提交
-
-
由 Philippe Langlais 提交于
The driver does not require hardirq context and can work with threaded interrupts as well, so let's switch to request_any_context_irq which will select the context that is available for us. Signed-off-by: NPhilippe Langlais <philippe.langlais@stericsson.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 1月, 2011 1 次提交
-
-
由 Jamie Iles 提交于
We should use IS_ERR() when checking whether clk_get() succeeded or not since it returns errors by encoding error codes with ERR_PTR(). Signed-off-by: NJamie Iles <jamie@jamieiles.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 1月, 2011 1 次提交
-
-
由 Jamie Iles 提交于
The only platform using this driver (mach-aaec2000) is no longer in the kernel so remove the driver. Signed-off-by: NJamie Iles <jamie@jamieiles.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 12月, 2010 1 次提交
-
-
由 Tony SIM 提交于
Support 8-bit tca6408a I/O expander as a keypad. Signed-off-by: NTony SIM <chinyeow.sim.xt@renesas.com> 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>
-
- 20 11月, 2010 1 次提交
-
-
由 Rajeev Kumar 提交于
Signed-off-by: NRajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 11月, 2010 1 次提交
-
-
由 Benjamin LaHaise 提交于
Many of the IBM Terminal keyboards from the 1980s and early 1990s communicate using a protocol similar, but not identical to the AT keyboard protocol. (Models known to be like this include 6110344, 6110668, 1390876, 1386887, and possibly others.) When the connector is rewired or adapter to an AT-DIN or PS/2 connector, they can be connected to a standard PC, with three caveats: a) They can only use scancode set 3; requests to use anything else are quietly ignored. b) The AT Command to request Make, Break and Repeat codes is not properly interpreted. c) The top function keys on a 122 key keyboard, and the arrow/edit keys in the middle of the board send non-standard scancodes. C) is easily taken care of in userspace, by use of setkeycodes B) can be taken care of by a userspace hack (that makes the kernel complain in dmesg) A) is fixable in theory, but on the keyboard i tested on (6110668), it seems to be detected unoverridably as Set 2, causing userspace oddities that make it harder to fix C). Enclosed is a small patch to the kernel that fixes A) and B) in the kernel, making it much easier to fix C) in userspace. It adds a single kernel command line parameter that overrides the detection that sets these boards as set 2, and instead of sending the Make-break-repeat command to the keyboard, it sends the make-break command, which is properly recognized by these keyboards. Software level key repeating seems to make up for the lack of hardware repeat codes perfectly. Without manually setting the command line parameter (tentatively named atkbd.terminal), this code has no effect, and the driver works exactly as before. See also: http://www.seasip.info/VintagePC/ibm_1390876.html http://www.seasip.info/VintagePC/ibm_6110344.html http://geekhack.org/showwiki.php?title=Island:7306Signed-off-by: NErika Quinn <erikas.aubade@gmail.com> Signed-off-by: NBenjamin LaHaise <bcrl@kvack.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 04 11月, 2010 1 次提交
-
-
由 Michael Hennerich 提交于
Unify adp5588-gpio and adp5588-keys common header defines (as per Andrew Morton request). For consistency, move remaining defines and prefix accordingly. No functional changes. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 10月, 2010 1 次提交
-
-
由 Paul Mundt 提交于
The ctrl_xxx routines are deprecated, switch over to the __raw_xxx versions. Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
-
- 19 10月, 2010 1 次提交
-
-
由 Michael Hennerich 提交于
KBUILD_MODNAME normalizes "-" to "_". This is non-obvious and results in the id name for ADP5588 being "adp5588_keys" while the other supported id is "adp5587-keys". So avoid this define and use an explicit string as the id name. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 13 10月, 2010 7 次提交
-
-
由 Mike Turquette 提交于
Program keyboard controller to generate a wake-up request on events and on long key presses. It will not generate wake-up requests on timeouts since driver code does not handle them. This allows keyboard to wake-up OMAP from suspend. Signed-off-by: NMike Turquette <mturquette@ti.com> Signed-off-by: NAbraham Arce <x0066660@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Abraham Arce 提交于
Select correct interrupt line behaviour. Signed-off-by: NAbraham Arce <x0066660@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Abraham Arce 提交于
Remove SYSCONFIG register configuration, omap hwmod framework will use internal API to modify as required. Other minor updates: - Change a variable name from DEF to VAL, this represents a value - Break line width to 80 characters Signed-off-by: NAbraham Arce <x0066660@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Abraham Arce 提交于
Get mem and irq resources using platform helpers - platform_get_base - platform_get_irq Signed-off-by: NAbraham Arce <x0066660@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Sundar Iyer 提交于
Add support for the keypad controller in the Scroll Key Encoder (SKE) module on the Nomadik family and the DB8500 SoC. Acked-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
We should not try to call free_irq() when request_irq() failed. Reported-by: NG, Manjunath Kondaiah <manjugk@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dzianis Kahanovich 提交于
Signed-off-by: NDzianis Kahanovich <mahatma@eu.by> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 09 10月, 2010 3 次提交
-
-
由 Mark F. Brown 提交于
mach-mmp needs to clear wake event in order to clear the keypad interrupt Signed-off-by: NMark F. Brown <mark.brown314@gmail.com> Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
-
由 Mark F. Brown 提交于
Signed-off-by: NMark F. Brown <mark.brown314@gmail.com> Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
-
由 Mark F. Brown 提交于
mach-mmp utilizes pxa27x_keypad code so we need to move header to platform pxa directory. Signed-off-by: NMark F. Brown <mark.brown314@gmail.com> Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
-
- 24 9月, 2010 1 次提交
-
-
由 Cyril Chemparathy 提交于
This patch adds support for tnetv107x's on-chip keypad controller. Signed-off-by: NCyril Chemparathy <cyril@ti.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
-
- 01 9月, 2010 1 次提交
-
-
由 Abraham Arce 提交于
OMAP4 keyboard controller includes: - built-in scanning algorithm - debouncing feature Driver implementation is based on matrix_keypad.c Signed-off-by: NSyed Rafiuddin <rafiuddin.syed@ti.com> Signed-off-by: NAbraham Arce <x0066660@ti.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 25 8月, 2010 1 次提交
-
-
由 Axel Lin 提交于
No need to call input_free_device() after input_unregister_device(). Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 8月, 2010 1 次提交
-
-
由 Dmitry Torokhov 提交于
Fix another compile breakage stemming from 987a6c02 ("Input: switch to input_abs_*() access functions") Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 14 8月, 2010 1 次提交
-
-
由 Daniel Mack 提交于
They've been introduced by 987a6c02 ("Input: switch to input_abs_*() access functions") and they appear to be some kind of debug left-over. [Dmitry Torokhov: these are my fault - I added XX prefixes in places where I wanted to do additional review of the code but failed to actually do that in these particular instances.] Signed-off-by: NDaniel Mack <daniel@caiaq.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 12 8月, 2010 1 次提交
-
-
由 Rabin Vincent 提交于
Add an input driver for the keypad on STMPE I/O expanders. This driver uses the common support provided by the STMPE MFD driver. Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 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>
-
- 03 8月, 2010 2 次提交
-
-
由 Daniel Mack 提交于
Change all call sites in drivers/input to not access the ABS axis information directly anymore. Make them use the access helpers instead. Also use input_set_abs_params() when possible. Did some code refactoring as I was on it. Signed-off-by: NDaniel Mack <daniel@caiaq.de> Cc: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
The kpad structure is assigned to i2c client via i2s_set_clientdata() at the end of adp5588_probe(), but in adp5588_gpio_add() we tried to access it (via dev_get_drvdata! which is not nice at all) causing an oops. Let's pass pointer to kpad directly into adp5588_gpio_add() and adp5588_gpio_remove() to avoid accessing driver data before it is set up. Also split out building of gpiomap into a separate function to clear the logic. Reported-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 26 7月, 2010 1 次提交
-
-
由 Xiaolong Chen 提交于
This patch allows exporting GPIO pins not used by the keypad itself to be accessible from elsewhere. Signed-off-by: NXiaolong Chen <xiao-long.chen@motorola.com> Signed-off-by: NYuanbo Ye <yuan-bo.ye@motorola.com> Signed-off-by: NTao Hu <taohu@motorola.com> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 7月, 2010 2 次提交
-
-
由 Joonyoung Shim 提交于
This patch adds support for keypad driver running on Samsung cpus. This driver is tested on GONI and Aquila board using S5PC110 cpu. [ch.naveen@samsung.com: tested on SMDK6410, SMDKC100, and SMDKV210] Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Tested-by: NNaveen Krishna Ch <ch.naveen@samsung.com> Acked-by: NKukjin Kim <kgene.kim@samsung.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
The Nokia RX51 board code (arch/arm/mach-omap2/board-rx51-peripherals.c) defines a key map for the matrix keypad keyboard. The hardware seems to use all of the 8 rows and 8 columns of the keypad, although not all possible locations are used. The TWL4030 supports keypads with at most 8 rows and 8 columns. Most keys are defined with a row and column number between 0 and 7, except KEY(0xff, 2, KEY_F9), KEY(0xff, 4, KEY_F10), KEY(0xff, 5, KEY_F11), which represent keycodes that should be emitted when entire row is connected to the ground. since the driver handles this case as if we had an extra column in the key matrix. Unfortunately we do not allocate enough space and end up owerwriting some random memory. Reported-and-tested-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: stable@kernel.org Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 7月, 2010 1 次提交
-
-
由 Wan ZongShun 提交于
The name of platfrom device was changed and we need to make driver's name match in order for it to bind to the device. Signed-off-by: NWan ZongShun <mcuos.com@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 7月, 2010 1 次提交
-
-
由 Christoph Fritz 提交于
drivers/input/keyboard/Kconfig defines QT2160 while the corresponding Makefile expects CONFIG_KEYBOARD_QT2160 as all other keyboard drivers do. To keep this Makefile consistent rename the config-token from CONFIG_QT2160 to CONFIG_KEYBOARD_QT2160. The various defconfig files are left alone. Reported-by: NRobert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: NChristoph Fritz <chf.fritz@googlemail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 7月, 2010 2 次提交
-
-
由 Feng Tang 提交于
This reverts commit 0b28bac5. After adding x86_platform's detection for i8042 controller, we don't need the force dependency on !X86_MRST any more Cc: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: NFeng Tang <feng.tang@intel.com> LKML-Reference: <1278342202-10973-5-git-send-email-feng.tang@intel.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
-
由 Feng Tang 提交于
This reverts commit 685afae0. After adding x86_platform's detection for i8042 controller, we don't need the force dependency on !X86_MRST any more Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: NFeng Tang <feng.tang@intel.com> LKML-Reference: <1278342202-10973-4-git-send-email-feng.tang@intel.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
-
- 04 7月, 2010 1 次提交
-
-
由 Joonyoung Shim 提交于
This adds support for MELPAS MCS5000/MSC5080 touch key controllers. Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 6月, 2010 2 次提交
-
-
由 Dan Carpenter 提交于
We reuse the "i" variable later on so if we goto fail3 or fail4 then "i" will be set to the wrong thing and cause a crash. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Grazvydas Ignotas 提交于
gpiolib now has debounce support added in .35, so let's make use of it. This allows to use hardware GPIO debouncing on some platforms like OMAP. In case gpiolib debounce setup fails for some GPIO, the driver will fall back to timer based debouncing, which is what it used before. Signed-off-by: NGrazvydas Ignotas <notasas@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 25 6月, 2010 1 次提交
-
-
由 Xiaolong CHEN 提交于
A column or row configured as a GPI can be programmed to be part of the key event table and therefore also capable of generating a key event interrupt. A key event interrupt caused by a GPI follows the same process flow as a key event interrupt caused by a key press. GPIs configured as part of the key event table allow single key switches and other GPI interrupts to be monitored. As part of the event table, GPIs are represented by the decimal value 97 (0x61 or 1100001) through the decimal value 114 (0x72 or 1110010). See table below for GPI event number assignments for rows and columns. GPI Event Number Assignments for Rows Row0 Row1 Row2 Row3 Row4 Row5 Row6 Row7 97 98 99 100 101 102 103 104 GPI Event Number Assignments for Cols Col0 Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 Col9 105 106 107 108 109 110 111 112 113 114 Signed-off-by: NXiaolong Chen <xiao-long.chen@motorola.com> Signed-off-by: NYuanbo Ye <yuan-bo.ye@motorola.com> Signed-off-by: NTao Hu <taohu@motorola.com> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-