summaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)Author
2012-05-08input: touchscreen: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I408fb008a70c7ea546384e68ac50c1f0604fc39a Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92276 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-19drivers: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I5942ba86bd1cbe1f1bd06a7c9f51a10d83e6cabb Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92819 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-30input: keyboard: remove interrupt_key driverLaxman Dewangan
Removing interrupt key driver as this duplicates the gpio_keys driver. Desired functionality can be achieve through the gpio_keys. Change-Id: I7e5bc18d4b30c64fa08bb64cdceffe2193c43c8f Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92462 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-03-26Input: gpio_keys - add support for interrupt only keysLaxman 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: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cherry-picked from mainline d8ee4a1c90529ed06e1aa43d034986649f7b670b Change-Id: Ibf8e407351082d816dd051d2c69a4a1a7caa70e7 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92321 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: gpio_keys - consolidate key destructor codeDmitry Torokhov
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> (cherry picked from commit a16ca23935afc0d72215b139720bd07df3162a9f) Change-Id: I90ae154a3b124fad0e9320ac5d9d8083175461b5 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92320 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: revert "gpio_keys - switch to using threaded IRQs"David Jander
request_any_context_irq() should handle the case when using GPIO expanders that themselves use threaded IRQs, and so the premise of change 7e2ecdf438bb479e2b4667fc16b1a84d6348da04 is incorrect. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> (cherry picked from commit 6709c9a5d8c53092cbe89128df4e0a549e93133b) Change-Id: I0b4267f6493483c2edc9926f48ecda68d863bead Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92319 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: gpio_keys - constify platform dataDmitry Torokhov
The platform data should not be altered and therefore should be accessed through const pointers. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cherry-picked from d9080921aa32c70a95476ce387e973787b892591 Change-Id: I5791f831909d4417a5c2732e310630c97c42f4a9 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92318 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: gpio_keys - use of_property_read_u32()Tobias Klauser
Use the of_property_read_u32() helper function to retrieve u32 values from the device tree. Also do not pass the len parameter to of_get_property if it isn't checked afterwards. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> (cherry picked from commit cca84699a079a91b0a0cb4f2da8548e56859376a) Change-Id: I265e0cdc8b761572d1c78d699d761097be26a4e4 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92317 Reviewed-by: Automatic_Commit_Validation_User
2012-03-08input: touch: atmel_mxt_ts: Reduce power during LP0.Robert Collins
Maximum power saving is observed by disabling multiple touchscreen objects. Objects must be saved going into LP0, and restored in reverse order upon resuming from LP0. Bug 919435 Change-Id: I42799fbb02efd28e4954b53b3d052ad138537ce9 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/88458 Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Tested-by: Gerrit_Virtual_Submit
2012-03-02input: keyboard: interrupt_key: Fix inbalance irq wakeupsLaxman Dewangan
The disable_irq_wake() function is getting called more than enable_irq_wake() and hence creating the inbalance error for disable irq wake. Fixing this with same logic for enable_irq_wake(). Change-Id: I32028fde01f1971f94cb75c188f975cbc78e74c5 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/86906
2012-02-29input: misc: cm3217: Fix incorrect enabling during suspend/resumeJohnny Qiu
Bug 946800 Change-Id: I1c7665002c94f54eb44c6b0715f6bd737a3e1288 Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-on: http://git-master/r/86572 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
2012-02-18input: touchscreen: Raydium DirectTouch driverAli Ekici
Modified driver files to support unified DirectTouch which can support Kai and Cardhu together. Vendor-supplied source code update. Bug 832605 Signed-off-by: Ali Ekici <aekici@nvidia.com> Change-Id: If0799147b50e9c2cf102d2216103e30b525026e4 Reviewed-on: http://git-master/r/80128 Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Tested-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> (cherry picked from commit 1dfd9d747b8ceb344a435daac60d30f1a6441bcb) Reviewed-on: http://git-master/r/83568 Tested-by: Gerrit_Virtual_Submit
2012-02-17input: misc: Fix code style issues for CM3217Johnny Qiu
Bug 937953 Change-Id: I5466fedf6fdcd1f577753736e9eb9b2dbf5b52c0 Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-on: http://git-master/r/83386 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-16input: misc: Add CM3217 driverJohnny Qiu
Bug 937953 Change-Id: Ieb9a941faaad0945948af806e8bc09a1e51f5772 Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-on: http://git-master/r/83369 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-10input: touchscreen: atmel_mxt_ts: Change mem_access permissionsDan Willemsen
Take off the world-write bit from the default permissions for the mem_access debug node. The init scripts will make it accessible on engineering builds. Bug 906796 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/79095 (cherry picked from commit a6ba61cc290bebb5dd16e4ad02cd1e8b3b9802b2) Change-Id: I3e118dd502aa8912ad5fcb8452105c7f5f1c833a Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82725 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-03Input: evdev - Add ioctl to block suspend while event queue is not empty.Arve Hjønnevåg
Add an ioctl, EVIOCSSUSPENDBLOCK, to enable a wakelock that will block suspend while the event queue is not empty. This allows userspace code to process input events while the device appears to be asleep. The current code holds the wakelock for up 5 seconds for every input device and client. This can prevent suspend if sensor with a high data rate is active, even when that sensor is not capable of waking the device once it is suspended. (cherry picked from commit 4dc43d7079bdae572212368e1d29abea0177c932 from android.googlesource.com/common.git) Signed-off-by: Arve Hjønnevåg <arve@android.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I160d2afe77aa76c9d2bbe01cd4b81434201361a9 Reviewed-on: http://git-master/r/78895 Reviewed-by: Automatic_Commit_Validation_User
2012-02-03Input: evdev - Don't hold wakelock when no data is available to user-spaceArve Hjønnevåg
If there is no SYN_REPORT event in the buffer the buffer data is invisible to user-space. The wakelock should not be held in this case. (cherry picked from commit 7cc846069a8a9116d8c81526c459070eed0e3477 from android.googlesource.com/common.git) Signed-off-by: Arve Hjønnevåg <arve@android.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I7555b190ff8e4e526291dd353c3c0291b05dfff2 Reviewed-on: http://git-master/r/78894 Reviewed-by: Automatic_Commit_Validation_User
2012-02-03input: tegra: kbc: KP INT EN when scantimeout zeroAshwini Ghuge
Enable wake from LP1 on KP interrupt when scan timeout is set to zero. Bug 921161 Reviewed-on: http://git-master/r/78146 Change-Id: I6f28f0da971bd159b40412608fca2615a70f6988 Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78700 Reviewed-by: Automatic_Commit_Validation_User
2012-01-30input: touchscreen: DirectTouch Synaptics driverAli Ekici
This is Synaptics' open source driver except one line change to accomodate an SPI kernel driver feature which does not accomodate optional byte-delay. It will be fully original driver when we add byte-delay into Tegra SPI kernel drivers. Bug 912775 Reviewed-on: http://git-master/r/74642 Change-Id: I0f39928c48bc0e633de0d2c1f595bcef47268d52 Signed-off-by: Peter Zu <pzu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77774 Reviewed-by: Automatic_Commit_Validation_User
2012-01-30input: touchscreen: move board shared data structure to linux/platform_dataPeter Zu
Reviewed-on: http://git-master/r/77504 Change-Id: Iafe31126fbcec1bfd01b51e0c122b44d3a71bbda Signed-off-by: Peter Zu <pzu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77759 Reviewed-by: Automatic_Commit_Validation_User
2012-01-24input: touch: rm31080a: DirectTouch Raydium driverAli Ekici
Raydium is responsible from pushing this driver to kernel.org. This driver contains two distinct drivers, one communicates with Touch IC using SPI and pushes raw touch data received to a file system, another driver who is a misc driver receives processed touch data and initiates touch input_abs_report touch commands which can only be issued by a driver. Changed misc_deregister call from rm31080_spi_exit to rm31080_spi_remove Bug 832605 Reviewed-on: http://git-master/r/74432 Change-Id: I8f361130bfe3236cf88ab4348c3d578c84c63ba7 Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Signed-off-by: Ali Ekici <aekici@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/76820 Reviewed-by: Automatic_Commit_Validation_User
2012-01-13input: evdev: Initialize retval to zeroPreetham Chandru
In evdev_read() the local variable retval is not initialized. If this variable is not initialized then in case of NONBLOCK READ retval will have invalid value. Bug: 922453 Change-Id: I534cbfacf8a0514fcb5bc481a98d0e94a4d73b04 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/74898 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Tested-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-by: Yogish Kulkarni <yogishk@nvidia.com> Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
2012-01-11Input: synaptics - fix touchpad not working after S2R on Vostro V13Dmitry Torokhov
commit 8521478f67e95ada4e87970c7b41e504c724b2cf upstream. Synaptics touchpads on several Dell laptops, particularly Vostro V13 systems, may not respond properly to PS/2 commands and queries immediately after resuming from suspend to RAM. This leads to unresponsive touchpad after suspend/resume cycle. Adding a 1-second delay after resetting the device allows touchpad to finish initializing (calibrating?) and start reacting properly. Reported-by: Daniel Manrique <daniel.manrique@canonical.com> Tested-by: Daniel Manrique <daniel.manrique@canonical.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Change-Id: I8246905d452b12e1ce535705c746c3ff66660e09 Reviewed-on: http://git-master/r/74172 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-03input: tegra: kbc: add disable_ev_rep for auto repeat eventNitin Kumbhar
A flag, disable_ev_rep, is added to enable/disable repeat events reported from the keyboard driver. BUG 918758 Change-Id: I65be2f795fd64ebb7d36ad278aa2b24362c1e5ea Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/72952 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-12-21input: tegra-kbc: add is_open, don't suspend if no clockRay Poudrier
Added is_open to know whether the clock has been disabled. Occasionally _close is called before _suspend during LP0 cycles resulting in a hang as the clock is disabled. Bug 855753 Change-Id: Ida938ada7d14085e11096b25cf41431fc2d46215 Reviewed-on: http://git-master/r/50218 Reviewed-on: http://git-master/r/64257 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2011-12-21input: touch: atmel_mxt_ts: Prevent accidental TS disable.Robert Collins
Fixes two error cases with slowscan: 1. Disable slowscan without first enabling it. Leaves TS controller disabled. 2. Enable slowscan twice consecutively. Leaves TS controller programmed with incorrect values. Bug 909304 Change-Id: I06db55aaf5935a838953d4f2fcf8f5dc2bb7123b Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/67501 (cherry picked from commit bb17439a70c585d35822d38ce5b53ca8368ab3a4) Reviewed-on: http://git-master/r/70222 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2011-12-09input: touch: atmel_mxt_ts: sanity check pressure valueVarun Wadekar
The hardware gives you 0 as the pressure even for valid touches. Pass a default value if you get pressure value outside limits from the hardware during a 'press'. Pass pressure as 0, for a 'release'. Change-Id: Id858240464474d3c18e4bae9768f41327c5d4124 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2011-11-30Input: synaptics_i2c_rmi: Correct 2nd multi touch removingJoshua Cha
When 2nd multi touch is removed, release point is (0,0) point. To correct this, in removing 2nd multi touch, we send last touched position of 2nd multi touch. And this removes noise touch event and joystick event also. Bug 896919 Change-Id: Icccaa3ccc28e613565ce696339b83d60335b344a Reviewed-on: http://git-master/r/64008 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re3c488cd60c5b02ec43fa8f3e700dc93afbff043
2011-11-30atmel: touch: Fix build error when PM_SLEEP is not selectedScott Williams
Change-Id: I08eb7b5ad1c70b84ff40ba75a29913b61634d0f0 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/48786 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: Rc7ac5d5153d845c8be10dbe79f57083fb1919760
2011-11-30input: touch: atmel_mxt_ts: Prevent double suspend/resume.Robert Collins
In the case where early suspend/resume is enabled, prevent suspend/resume from being called twice. Removing the default suspend/resume handlers while early suspend/resume is enabled prevents the double suspend/resume from occurring. BUG 843934 Original-Change-Id: I2e014f7a79db524cbe9d5b8b934c8f42216a8ad5 Reviewed-on: http://git-master/r/38576 Tested-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Rebase-Id: R6c38a345206679eb2ee5ca279d0ffa922c3f8744
2011-11-30Input: atmel_mxt_ts: add early suspend/resume functionalityRobert Collins
Add early suspend/resume functionality to Atmel touch driver. 0W suspend. Early suspend/resume functions written and provided by Atmel Corporation. BUG 826854 Original-Change-Id: I58d5abacff20df9d3027c960021e94298e31b8a6 Reviewed-on: http://git-master/r/35286 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R1364d26f0c95bdb9e650e3231ac254242a9b3349
2011-11-30Merge branch 'korg-android-tegra-3.1' into after-upstream-androidDan Willemsen
Conflicts: arch/arm/mach-tegra/Kconfig arch/arm/mach-tegra/board-ventana.c drivers/misc/Kconfig drivers/video/tegra/dc/hdmi.c Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
2011-11-30input: touch: atmel_mxt_ts: Add SysFS interface to slow down scanning.Robert Collins
Video playback would like to save power by slowing touchscreen scanning. This change adds a SysFS interface to allow the scan rate to be programmed by the video display interface. SysFS location: /sys/devices/platform/tegra-i2c.1/i2c-1/1-005a/slowscan_enable Read functions: cat slowscan_enable (returns current register status) Write functions: 0 - Disable slowscan 1 - Enable slowscan 2 N - Program actv_cycle_time with value of N 3 N - Program idle_cycle_time with value of N 4 N - Program actv2idle timeout with value of N (seconds * 10) Bug 891993 Change-Id: Ib11b544019f3a78290785502e7209b8cbd985852 Reviewed-on: http://git-master/r/65006 Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Re4398871d4964d366f0dbdd856a7953600577dea
2011-11-30input: touch: atmel_mxt_ts: Disable TS power during LP0.Robert Collins
In order to save system power, we should cut the power to the touchscreen controller. Older versions of our TS driver did this. This feature was accidentally removed during a recent driver update. Bug 891979 Change-Id: I4bf9333832af65c00b8b10cc8191f4d26aad04e4 Reviewed-on: http://git-master/r/65005 Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R370b26e990a5f129ea0f8e73e9b7178bd85b79e5
2011-11-30input: touch: atmel_mxt_ts: Updated to new Atmel touch driver.Robert Collins
Updated to new Atmel touch driver. Added sysfs interface to allow Config-UI applications to run. Primary changes: * Add sysfs interface to allow user applications access to the touchscreen controller register interface. Required by Config-UI utility. * Fixed bug in stop/start functions that would prevent TS from working with encrypted filesystems. * Fix logic error that could cause a deadlock condition during LP0 resume. Change-Id: If25260e60843e3c3bb3a9818ed9146ea78c39902 Reviewed-on: http://git-master/r/65004 Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R9bde02eeeae3a899e18d17b5ff26cac371729cb0
2011-11-30gcov-kernel: Add GCOV_KERNEL := y to MakefilesJuha Tukkinen
These changes have no effect if CONFIG_GCOV_KERNEL is not set in defconfig. It is easier to trigger GCOV for kernel if this patch is in by only setting the before mentioned flag. Change-Id: I8aade309da2da62c4b3889bd84e4123ba8f182da Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/62999 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: R4c238f707f1db600f188ae83426336753992b7be
2011-11-30input: tegra: kbc: Board param for scan countLaxman Dewangan
The scan timeout of the continuous mode can be calculated based on init delay, repeat delay, debounce count and number of active row. It also depends on how many scan need to be done before kbc change the mode from continuous to wakeup mode. Providing mechanism to select the scan count from platform data and calculating the scan timeout count based on above parameters. bug 876712 Reviewed-on: http://git-master/r/62591 (cherry picked from commit 3360ed5be86a2afd6716bc5227cc39657efd35b2) Change-Id: Ib9dc96b1cc201b7af0bd62a3ec7fe9a80791d796 Reviewed-on: http://git-master/r/63229 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Rbcb685d34c5d00ebf1c79d356eb63e4584075447
2011-11-30input: keyboard: Set configuration registersShridhar Rasal
-Set only REQUIRED row and column configuration register to PROPER values to avoid continuously generating KBC input events. -Use *enable* field in pin_cfg, to check GPIO_x_ROW_EN register should be set or clear. bug 889620 Change-Id: I91990156c300605c214e7e393edf14fbced1573d Reviewed-on: http://git-master/r/59153 Reviewed-by: Shridhar Rasal <srasal@nvidia.com> Tested-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R03e9deb839fc21c1ea66fc81ae6601155b8e8d4d
2011-11-30input: touch: atmel_mxt_ts: Prevent touchscreen from becoming unresponsive ↵Joel Kenny
in some situations BUG 868649 Reviewed-on: http://git-master/r/50598 (cherry picked from commit ad1dbe0eda931f813b20d75400daaa9edf18c82a) Change-Id: I29f353687c499ff830e98fcf038d8a786dc5608b Reviewed-on: http://git-master/r/54841 Reviewed-by: Joel Kenny <jkenny@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Tested-by: Joel Kenny <jkenny@nvidia.com> Rebase-Id: Rdde94e071f4a27250eccad562c819ca2f537ffcd
2011-11-30HACK Revert "Input: tegra-kbc - change wakeup logic to be all or nothing"Dan Willemsen
This reverts commit baafb435372dd48e3854028aec669effae957c9e. Rebase-Id: Re9bd7135ad63df297876341431cad65fa12a838a
2011-11-30input: touch: atmel_mxt_ts: Prevent boot and resume hangs.Robert Collins
Prevents touchscreen hangs during initial TS boot, and TS resume. BUG 847725 BUG 845156 BUG 846711 Original-Change-Id: Ia853574e4b2422eb9368fe37eaf7457bd4022df8 Reviewed-on: http://git-master/r/40261 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc1de4685a4e85d761097142b39f2a672846b8c44
2011-11-30Input: atmel_mxt_touch: NVIDIA touch customizationRobert Collins
* Fix suspend/resume bug to prevent unecessary i2cinterrupts when suspended. * Change input device name to match NVDA IDC name. * Add I2C address defines. * Change "printk" to "dev_info" function calls. BUG 826854 Original-Change-Id: Ic1b25bc469b86d8a26e876e80973597d9f6fb107 Reviewed-on: http://git-master/r/35285 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: Rcba51c79d3c004372c0be18538f14f56a2249bc0
2011-11-30Input: atmel_mxt_ts: Atmel customizations to touch.Robert Collins
Integrate changes made by Atmel. These changes are in addition to mainline driver. NOTE: Driver will compile as a stand-alone. BUG 826854 Original-Change-Id: If13688d90d97b71718576f3fb756496f57a965d7 Reviewed-on: http://git-master/r/35280 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: Reb8ae14299d248c0ce69e52b26a8816d1a0ee057
2011-11-30input: interrupt_key: Reporting release event after timeoutLaxman Dewangan
For the key connected directly to interrupt keys, there is continuous interrupt from key pressed. The generation of interrupt stops only when key is released. To handle this case, reporting the key press in first interrupt and key release event if there is no interrupt for sometime. This time is configurable from platform data. bug 814005 Original-Change-Id: I56345ca68bd227e48cf31b1f54a0deac43bf900c Reviewed-on: http://git-master/r/28065 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Original-Change-Id: I83d04992fe29c9a472a79e900b8083475c1ddf40 Rebase-Id: R62a01548c16a78033337dcfe35d391210412c3f2
2011-11-30Update copyrightsScott Williams
Original-Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a Rebase-Id: R056056997b4913133216474f863fc17c7f69878b
2011-11-30input: keyboard: Adding keys support through interrupt linesLaxman Dewangan
Adding keys support which are directly connected to interrupt lines. Original-Change-Id: Ib26c06b170b82f4745e758be80b3e04122ad1d6c Reviewed-on: http://git-master/r/22069 Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Original-Change-Id: I3921cc88f32558282654fbd36243b4b0b3574133 Rebase-Id: Rd7954ff7c2e0167a6a4765ff2f08494b9d0eba14
2011-11-30input: gpio-keys: report wakeup key on resumeNitin Kumbhar
During resume, gpio-keys does not get updated state of gpios which fails to report wakeup key event. Update resume routine to report key event based on wakeup source. BUG 745149 Original-Change-Id: Iff7a9b431f9da8d226c8d3cd522725c3049fef07 Reviewed-on: http://git-master/r/17455 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rde589cdb4f74683e9ea46933c7f949da16c5f884
2011-11-30[ARM] tegra: gpio based scrollwheel driverSachin Nikam
Reports Scroll keys: - Press - Scrollup - Scrolldown Original-Change-Id: I47f6ca3d7b5bed4aa7441634850881df7066fce7 Reviewed-on: http://git-master/r/13618 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R7c42f5468e8a89fb4881abd7ef7d314740f99144
2011-11-30panjit_touch: add early suspend support to panjit I2C touchscreenGary King
Change-Id: I1adc2bb646269f17480718a7efb3dc14e6325fbc Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30Merge branch 'korg-android-3.1' into korg-android+linux-tegra-3.1Dan Willemsen
Conflicts: arch/arm/mm/cache-l2x0.c drivers/misc/Kconfig drivers/misc/Makefile Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>