aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard
Commit message (Collapse)AuthorAgeFilesLines
* cypress: Port BLN for smdk4210Arnab Chaudhuri2016-05-0823-0/+12218
| | | | | | | BLN code originally by neldar. Adapted for SGSII by creams. Ported by gokhanmoral. Change-Id: I3e51026a9057be47586378994f61719177507b84
* smdk4412: cypress-touchkey - add keydisablersbrissen2014-03-281-0/+41
| | | | Change-Id: I85efd4c5b2d6a7283c430f5eca2a730ef6b03d18
* smdk4412: fix mag cover turning screen offsbrissen2013-12-131-1/+3
| | | | | | | when charger is plugged in or disconnected while cover is closed and then opened. Change-Id: Ifa74d3d0689e1a5c84a4683c2fe24918bc5ab87a
* Add support for Note 8 (N5100 and N5110)sbrissen2013-11-112-2/+127
| | | | Change-Id: I6c9798682f9f6349b37cb452353bd0c0e6958401
* d710: cypress: fix home button and auto-update defconfigDorian Snyder2013-09-011-1/+1
| | | | Change-Id: I1dd142d0b168101a8170e742d115bf70a47daa48
* Fix kernel build errorarrrghhh2013-08-311-1/+1
| | | | Change-Id: I1191517240ae7bcfb2fcbbffc98e22f28e8fa151
* cypress-touchkey: remove backlight timeout featureDaniel Hillenbrand2013-08-232-366/+175
| | | | | | | | | Userspace implementation: http://review.cyanogenmod.org/48796 http://review.cyanogenmod.org/48872 http://review.cyanogenmod.org/48884 Change-Id: Id4ac50168220310e82aa4aae367dad4e72e3a9c3
* cypress: report led status via sysfsDaniel Hillenbrand2013-08-211-1/+12
| | | | Change-Id: Iddecb0688e758eca3ba77b520510a6728ad1e3bb
* u1: import from CyanogenMod/android_kernel_samsung_smdk4210Daniel Hillenbrand2013-05-251-166/+143
| | | | Change-Id: I9629a4060538c9c4c6a43a86a56826cd7123d1b5
* merge opensource jb u5codeworkx2012-09-225-61/+1186
| | | | Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
* cypress, mms_ts: disable debuggingcodeworkx2012-08-251-11/+10
| | | | Change-Id: Ie2b90efb763e1f80de4b57056ca447836c4ee2a4
* samsung opensource update3Daniel Hillenbrand2012-07-211-7/+26
|
* cypress: support reading of timeout and force_disable sysfsDaniel Hillenbrand2012-06-171-4/+26
|
* cypress: user configurable touchled timeout, allow to force disable ledsDaniel Hillenbrand2012-06-162-11/+198
|
* samsung update 1codeworkx2012-06-0222-1/+10763
|
* input: pmic8xxx-keypad: Do not use mfd_get_data()Samuel Ortiz2011-07-051-1/+2
| | | | | | | mfd_get_data() has been removed from the MFD API. Cc: Anirudh Ghayal <aghayal@codeaurora.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* Merge branch 'for-linus' of ↵Linus Torvalds2011-06-202-1/+2
|\ | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: sh_keysc - 8x8 MODE_6 fix Input: omap-keypad - add missing input_sync() Input: evdev - try to wake up readers only if we have full packet Input: properly assign return value of clamp() macro.
| * Input: sh_keysc - 8x8 MODE_6 fixMagnus Damm2011-06-181-1/+1
| | | | | | | | | | | | | | | | | | According to the data sheet for G4, AP4 and AG5 KEYSC MODE_6 is 8x8 keys. Bump up MAXKEYS to 64 too. Signed-off-by: Magnus Damm <damm@opensource.se> Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: omap-keypad - add missing input_sync()Janusz Krzysztofik2011-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise the updated evdev driver (commit cdda911c34006f1089f3c87b1a1f, "Input: evdev - only signal polls on full packets") no longer works on top of omap-keypad. Tested on Amstrad Delta. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Reviewed-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | input: Add Qualcomm pm8xxx keypad controller driverTrilok Soni2011-05-263-0/+811
| | | | | | | | | | | | | | | | | | | | Add Qualcomm PMIC8XXX based keypad controller driver supporting upto 18x8 matrix configuration. Acked-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Trilok Soni <tsoni@codeaurora.org> Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | Merge branch 'for-linus' of ↵Linus Torvalds2011-05-249-59/+1206
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (40 commits) Input: ADP5589 - new driver for I2C Keypad Decoder and I/O Expander Input: tsc2007 - add X, Y and Z fuzz factors to platform data Input: tsc2007 - add poll_period parameter to platform data Input: tsc2007 - add poll_delay parameter to platform data Input: tsc2007 - add max_rt parameter to platform data Input: tsc2007 - debounce pressure measurement Input: ad714x - fix captouch wheel option algorithm Input: ad714x - allow platform code to specify irqflags Input: ad714x - fix threshold and completion interrupt masks Input: ad714x - fix up input configuration Input: elantech - remove support for proprietary X driver Input: elantech - report multitouch with proper ABS_MT messages Input: elantech - export pressure and width when supported Input: elantech - describe further the protocol Input: atmel_tsadcc - correct call to input_free_device Input: add driver FSL MPR121 capacitive touch sensor Input: remove useless synchronize_rcu() calls Input: ads7846 - fix gpio_pendown configuration Input: ads7846 - add possibility to use external vref on ads7846 Input: rotary-encoder - add support for half-period encoders ...
| * Input: ADP5589 - new driver for I2C Keypad Decoder and I/O ExpanderMichael Hennerich2011-05-193-0/+782
| | | | | | | | | | | | | | | | | | | | | | From http://www.analog.com/ADP5589: The ADP5589 is an I/O port expander and keypad matrix decoder designed for QWERTY type phones that require a large keypad matrix and expanded I/O lines. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: add driver FSL MPR121 capacitive touch sensorZhang Jiejing2011-05-123-0/+352
| | | | | | | | | | | | | | | | | | | | | | This patch adds basic support for Freescale MPR121 capacitive touch sensor. It's an i2c controller with up to 12 capacitance sensing inputs. Product information (data sheet, application notes) can be found here: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPR121 Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: tegra-kbc - change wakeup logic to be all or nothingRakesh Iyer2011-05-111-22/+2
| | | | | | | | | | | | | | | | | | Tegra hardware design cannot reliably support an arbitrary set of keys waking up the system. Modify wakeup logic so either any key wakes the system up or none will do. Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: sh_keysc - only compile PM code if PM is enabledDmitry Torokhov2011-05-051-4/+4
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: sh_keysc - make sh_keysc_device_driver staticDmitry Torokhov2011-05-031-1/+1
| | | | | | | | | | | | | | This variable is not used outside of the module so we should mark it as static. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: sh_keysc - switch to threaded IRQ handlerMagnus Damm2011-04-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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: Magnus Damm <damm@opensource.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: sh_keysc - implement runtime PM supportMagnus Damm2011-04-281-25/+15
| | | | | | | | | | | | | | | | | | | | | | 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: Magnus Damm <damm@opensource.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: tegra-kbc - add ghost key filterRakesh Iyer2011-04-271-0/+36
| | | | | | | | | | | | | | | | Add ghost key filtering support for the Nvidia Tegra matrix keyboard. Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: omap-keypad - fix a wrong free_irq() parameterAxel Lin2011-04-271-3/+3
| | | | | | | | | | | | | | | | 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: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: qt1070 - add MODULE_DEVICE_TABLEAxel Lin2011-04-271-0/+1
| | | | | | | | | | | | | | | | Adding the necessary MODULE_DEVICE_TABLE() information allows the driver to be automatically loaded by udev Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Merge commit 'v2.6.39-rc4' into nextDmitry Torokhov2011-04-225-9/+67
| |\
| * | Input: gpio-keys - add support for setting device nameAlexander Stein2011-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch allows to set a device name which helps distinguishing several gpio-keys devices. Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: gpio_keys - add support for EV_ABSAlexander Stein2011-04-111-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | With this patch you can setup a group of GPIOs representing a specific position on an EV_ABS axis. Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | input/atari: Fix atarimouse initMichael Schmitz2011-05-191-2/+3
| |/ |/| | | | | | | | | | | | | | | | | Atarimouse fails to load as a module (with ENODEV), due to a brown paper bag bug, misinterpreting the semantics of atari_keyb_init(). [geert] Propagate the return value of atari_keyb_init() everywhere Signed-off-by: Michael Schmitz <schmitz@debian.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
* | Merge branch 'for-linus' of ↵Linus Torvalds2011-04-181-2/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: xen-kbdfront - fix mouse getting stuck after save/restore Input: estimate number of events per packet Input: evdev - indicate buffer overrun with SYN_DROPPED Input: document event types and codes and their intended use Input: add KEY_IMAGES specifically for AL Image Browser Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe() Input: h3600_ts - fix error handling at connect Input: twl4030_keypad - avoid potential NULL-pointer dereference
| * | Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe()Axel Lin2011-04-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | We should first check whether platform data is NULL or not, before dereferencing it to get the keymap. Signed-off-by: Axel Lin <axel.lin@gmail.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: twl4030_keypad - avoid potential NULL-pointer dereferenceShubhrajyoti D2011-04-061-1/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Shubhrajyoti D <a0393217@india.ti.com> Acked-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | Merge branch 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6Linus Torvalds2011-04-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6: Fix common misspellings
| * | | Fix common misspellingsLucas De Marchi2011-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
* | | | Merge branch 'for-linus' of ↵Linus Torvalds2011-04-051-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: rpckbd - fix a leak of the IRQ during init failure Input: wacom - add support for Lenovo tablet ID (0xE6) Input: i8042 - downgrade selftest error message to dbg() Input: synaptics - fix crash in synaptics_module_init() Input: spear-keyboard - fix inverted condition in interrupt handler Input: uinput - allow for 0/0 min/max on absolute axes. Input: sparse-keymap - report KEY_UNKNOWN for unknown scan codes Input: sparse-keymap - report scancodes with key events Input: h3600_ts_input - fix a spelling error Input: wacom - report resolution for pen devices Input: wacom - constify wacom_features for a new missed Bamboo models
| * | Input: spear-keyboard - fix inverted condition in interrupt handlerRajeev Kumar2011-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We should return IRQ_NONE from interrupt handler in case keyboard does not report DATA_AVAIL condition. Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | drivers: Final irq namespace conversionThomas Gleixner2011-03-291-2/+2
|/ / | | | | | | | | | | Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* | Merge branch 'next' into for-linusDmitry Torokhov2011-03-1810-58/+948
|\ \ | |/
| * Input: tc3589x-keypad - fix 'double const' warningDmitry Torokhov2011-03-151-11/+11
| | | | | | | | | | | | Also rearrange driver structure initializer a bit. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: tca6416-keypad - suspend/resume wakeup supportMagnus Damm2011-03-151-0/+28
| | | | | | | | | | | | | | | | | | | | | | 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: Magnus Damm <damm@opensource.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: add Atmel AT42QT1070 keypad driverBo Shen2011-03-133-0/+287
| | | | | | | | | | | | | | | | | | | | 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: Bo Shen <voice.shen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: mcs_touchkey - add shutdown handlerHeungJun Kim2011-02-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | 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: Heungjun Kim <riverful.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: mcs_touchkey - add support for suspend/resumeHeungjun Kim2011-02-231-1/+47
| | | | | | | | | | | | | | | | This adds support for system-level suspend/resume to the driver. Signed-off-by: Heungjun Kim <riverful.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: omap4-keypad - wire up runtime PM handlingAbraham Arce2011-02-231-19/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Abraham Arce <x0066660@ti.com> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>