- 05 5月, 2011 1 次提交
-
-
由 Dmitry Torokhov 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 04 5月, 2011 1 次提交
-
-
由 Dmitry Torokhov 提交于
This variable is not used outside of the module so we should mark it as static. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 4月, 2011 2 次提交
-
-
由 Magnus Damm 提交于
Update the KEYSC driver to make use of threaded IRQs with IRQF_ONESHOT to improve interrupt latency. The driver is using udelay() in the ISR to make sure the hardware has stabilized. Without using interrupt threads this delay may affect the latency of the rest of the system. Also pass dev_name() as string for /proc/interrupts. Signed-off-by: NMagnus Damm <damm@opensource.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Magnus Damm 提交于
Convert the KEYSC driver from MSTP bit control through a magic clock string to making use of Runtime PM. Also, update the system suspend/resume callbacks to drop the Runtime PM reference in the case of wakeup disabled. Signed-off-by: NMagnus Damm <damm@opensource.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 4月, 2011 3 次提交
-
-
由 Rakesh Iyer 提交于
Add ghost key filtering support for the Nvidia Tegra matrix keyboard. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
In current implementation, free_irq() was using NULL rather than the driver data as the data pointer so free_irq() wouldn't have matched. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Adding the necessary MODULE_DEVICE_TABLE() information allows the driver to be automatically loaded by udev Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 4月, 2011 3 次提交
-
-
由 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>
-
由 Axel Lin 提交于
We should first check whether platform data is NULL or not, before dereferencing it to get the keymap. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Reviewed-by: NFelipe Balbi <balbi@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 07 4月, 2011 1 次提交
-
-
由 Shubhrajyoti D 提交于
Signed-off-by: NShubhrajyoti D <a0393217@india.ti.com> Acked-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 31 3月, 2011 2 次提交
-
-
由 Lucas De Marchi 提交于
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: NLucas De Marchi <lucas.demarchi@profusion.mobi>
-
由 Rajeev Kumar 提交于
We should return IRQ_NONE from interrupt handler in case keyboard does not report DATA_AVAIL condition. Signed-off-by: NRajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 3月, 2011 1 次提交
-
-
由 Thomas Gleixner 提交于
Scripted with coccinelle. Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
- 16 3月, 2011 2 次提交
-
-
由 Dmitry Torokhov 提交于
Also rearrange driver structure initializer a bit. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Magnus Damm 提交于
Extend the tca6416 driver to use enable_irq_wake() and disable_irq_wake() in the suspend/resume hooks. This makes it possible to wake up from suspend-to-ram using a tca6416 key on the sh7372 mackerel board. Signed-off-by: NMagnus Damm <damm@opensource.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 14 3月, 2011 1 次提交
-
-
由 Bo Shen 提交于
The AT42QT1070 QTouch sensor supports up to 7 keys. The driver has been tested on Atmel AT91SAM9M10-G45-EK board, and it should work fine on other platforms. Signed-off-by: NBo Shen <voice.shen@atmel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 24 2月, 2011 3 次提交
-
-
由 HeungJun Kim 提交于
The MCS50XX series has a HW bug that requires explicit chip power down. If chip is not powered down before shutting the system down the control pins (powerup, interrupt) are pulled up and residue current continues flowing into the chips making them continue consuming power. Signed-off-by: NHeungjun Kim <riverful.kim@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Heungjun Kim 提交于
This adds support for system-level suspend/resume to the driver. Signed-off-by: NHeungjun Kim <riverful.kim@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Abraham Arce 提交于
Enable Runtime PM functionality in OMAP4 driver based on the following assumptions: - keyboard controller in wakeup domain so it is always on and power impact is minimal; - in OMAP4 the device control is at module/device level and ick/fclk level control is difficult so cutting of clocks will prevent interrupts. Signed-off-by: NAbraham Arce <x0066660@ti.com> Signed-off-by: NShubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 2月, 2011 2 次提交
-
-
由 Mark Brown 提交于
There is a general move to convert drivers to use dev_pm_ops rather than bus specific ops to facilitate core work. Do this conversion for max7359. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move away from bus specific PM operations to using dev_pm_ops in order to facilicate core improvements. Update lm8323 to the new model. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 19 2月, 2011 1 次提交
-
-
由 Rakesh Iyer 提交于
Add Fn keymap support to allow for internal processing of Fn keys. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 1月, 2011 2 次提交
-
-
由 Rakesh Iyer 提交于
Correct key mapping for Left Meta key. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rakesh Iyer 提交于
Fix build error introduced by variable name change. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 1月, 2011 3 次提交
-
-
由 Rakesh Iyer 提交于
This patch adds support for the internal matrix keyboard controller for Nvidia Tegra platforms. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Reviewed-by: NTrilok Soni <tsoni@codeaurora.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 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>
-
由 David Rientjes 提交于
The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option is used to configure any non-standard kernel with a much larger scope than only small devices. This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes references to the option throughout the kernel. A new CONFIG_EMBEDDED option is added that automatically selects CONFIG_EXPERT when enabled and can be used in the future to isolate options that should only be considered for embedded systems (RISC architectures, SLOB, etc). Calling the option "EXPERT" more accurately represents its intention: only expert users who understand the impact of the configuration changes they are making should enable it. Reviewed-by: NIngo Molnar <mingo@elte.hu> Acked-by: NDavid Woodhouse <david.woodhouse@intel.com> Signed-off-by: NDavid Rientjes <rientjes@google.com> Cc: Greg KH <gregkh@suse.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jens Axboe <axboe@kernel.dk> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Robin Holt <holt@sgi.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 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 2 次提交
-
-
由 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>
-
由 Dan Carpenter 提交于
There was a semi-colon missing and it broke the compile. Signed-off-by: NDan Carpenter <error27@gmail.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 30 12月, 2010 1 次提交
-
-
由 Sundar Iyer 提交于
Add support for the keypad controller module found on the TC3589X devices. This driver default adds the support for TC35893 device. Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> [Some minor fixups for compilation] Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
- 23 12月, 2010 1 次提交
-
-
由 Janusz Krzysztofik 提交于
Most keypad drivers make use of the <linux/input/matrix_keypad.h> defined macros, structures and inline functions. Convert omap-keypad driver to use those as well, as suggested by a compile time warning, hardcoded into the OMAP <palt/keypad.h>. Created against linux-2.6.37-rc5. Tested on Amstrad Delta. Compile tested with omap1_defconfig and omap2plus_defconfig shrinked to board-h4. Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl> Reviewed-by: NAaro Koskinen <aaro.koskinen@nokia.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NTony Lindgren <tony@atomide.com>
-
- 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>
-