summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen (follow)
Commit message (Collapse)AuthorAge
...
* | Merge "input: touchpanel: Move Goodix GT915 driver to drivers folder"Linux Build Service Account2016-08-02
|\ \
| * | input: touchpanel: Move Goodix GT915 driver to drivers folderBingzhe Cai2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Goodix GT915 driver was provided by vendor and cherry-picked into our project, it need to be placed to right location. Change-Id: Idf191144354426233eca41727a41e26ddbf92f95 Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org> Signed-off-by: Pan Fang <fangpan@codeaurora.org>
* | | Merge "input: it7258_ts_i2c: replace unused variable in driver"Linux Build Service Account2016-08-02
|\ \ \
| * | | input: it7258_ts_i2c: replace unused variable in driverShantanu Jain2016-08-01
| |/ / | | | | | | | | | | | | | | | | | | Replace an unused variable in the ITE tech touch screen driver. Change-Id: I49230fb6532ee02f122d5f16dfad8dbd978b368e Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | | Merge "input: msg21xx_ts: Move the driver to proper path"Linux Build Service Account2016-08-02
|\ \ \
| * | | input: msg21xx_ts: Move the driver to proper pathMao Li2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This Mstar CTP reference driver code is added into a wrong place, a follow-on patch is created to move the driver to proper path. Change-Id: I34365ce21659348ad1d1289e3b06b81e778c2648 Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* | | | Merge "input: it7258_ts_i2c: add low power mode support in suspend state"Linux Build Service Account2016-08-02
|\ \ \ \
| * | | | input: it7258_ts_i2c: add low power mode support in suspend stateShantanu Jain2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add low power idle mode support in suspend state for ITE tech touchscreen driver. Also, execute the touch to wake feature code only when device moves from idle state to active state. Change-Id: Ia989d8130bbded4ae5acab0b9c3122998acb2056 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | | | input: it7258_ts_i2c: add dt parsing supportShantanu Jain2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DT parsing support to ITE tech touchscreen driver. Change-Id: I4b6b9867dc0d74c02d165aae670213544fcda1bc Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | | | input: it7258_ts_i2c: add force fw and cfg update functionalityShantanu Jain2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add force firmware and config update functionality to ITE Tech touchscreen driver. Change-Id: I63720092f445700b7ae66e10950d87a4654060aa Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | | | input: touchscreen: add auto fw upgrade for ITE tech driverShantanu Jain2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add auto firmware and config upgrade functionality for ITE tech touchscreen driver. Add sysfs support for manual fw and cfg upgrade functionality. Also clean the sysfs function names. Change-Id: I8912545589cb763c1deb70bebb081e920af69ad2 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | | | input: touchscreen: add protocol B support for ITE tech driverShantanu Jain2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add multi-touch protocol B support for ITE tech touch screen driver. Change-Id: I9ed40ccedab71a3800b97fc7825741855bceaa29 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | | | | Merge "input: touchscreen: clean ITE tech driver probe function"Linux Build Service Account2016-08-02
|\| | | |
| * | | | input: touchscreen: clean ITE tech driver probe functionShantanu Jain2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean ITE tech driver probe function with proper error paths, call sequence, and return values to release the resources properly. Also, release the resource in driver's remove function. Change-Id: Ia81bb3da7e0b880de6f2ed95d346b533104ed3fc Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | | | input: touchscreen: clean ITE tech TS driverShantanu Jain2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean ITE tech touchscreen driver. Structurize driver data members, replace standard logging function calls & messages, change to proper function names, change to proper variable names, remove unnecessary sysfs entry. Change-Id: I02bcea18e93146b68aaeb8d81fa7bec67b5bcc73 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | | | | Merge "input: touchscreen: add palm-gesture sleep feature"Linux Build Service Account2016-08-01
|\| | | | | |_|/ / |/| | |
| * | | input: touchscreen: add palm-gesture sleep featureShantanu Jain2016-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add palm-gesture sleep feature for ITE tech touchscreen driver. When enabled the driver sends a key code to the user space. Two optional device-tree properties are added for this: ite,palm-detect and ite,palm-detect-keycode. Change-Id: I0989cb66ab5edb10769ced9d525bd4f6d7adb02b Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | | | Merge "input: touchscreen: add touch to wake feature in ITEtech driver"Linux Build Service Account2016-08-01
|\| | | | |/ / |/| |
| * | input: touchscreen: add touch to wake feature in ITEtech driverShantanu Jain2016-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add touch to wake feature in ITE tech touchscreen driver. The touchscreen interrupt is configured as wakeable interrupt, so TS can be used to wake the device from suspend state. Change-Id: I8da53ab4f03237b8652cd5891eadbffa752d72d3 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | input: it7258_ts_i2c: add debugfs support for suspend/resumeShantanu Jain2016-07-31
| | | | | | | | | | | | | | | | | | | | | | | | Add debugfs support for suspend and resume test for ITE tech touchscreen driver. Change-Id: I5a3d55c7c8e4b8f594fd7924c61ac1e5b5ad1965 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | input: touchscreen: add protocol A support to ITE tech driverHimanshu Aggarwal2016-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add multi-touch protocol A support to ITE tech touchscreen driver. Change-Id: I49bc7e3eaa3b266fe92bb209f56ae5a1b40675e0 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | input: touchscreen: add suspend-resume and fb supportShantanu Jain2016-07-30
| | | | | | | | | | | | | | | | | | | | | | | | Add suspend-resume and fb notification support for ITE tech touchscreen driver. Change-Id: I9a601412fb9a3935c0eadad5157bb1fd819b29dd Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | input: it7258_ts_i2c: add DT parsing support for touch driverAbinaya P2016-07-28
| | | | | | | | | | | | | | | | | | | | | | | | Add device tree support for ITE Tech touch controller driver. Change-Id: I2671b7c30b0f2ed1d7ad788f29b7f900a2a1cdcc Signed-off-by: Shantanu Jain <shjain@codeaurora.org> Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | | ft5x06: Set input property bit to indicate a direct input deviceAmy Maloche2016-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Property bit is checked in userspace and must be set in driver in order to be recognized correctly since it defaults to mouse pointer. Change-Id: Ibdc78547e6376e6db54db75b1423718d13afaaa7 Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
* | | input: ft5x06_ts: clean up the focaltech touchscreen driverShantanu Jain2016-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up the focaltech driver by fixing the following checkpatch errors. 1. else is not generally useful after a break or return 2. Possible unnecessary 'out of memory' message 3. Using __devexit is unnecessary 4. Unnecessary space before function pointer arguments This patch is a propagated patch from 3.18 kernel 'commit 2b6ea311a968 ("input: ft5x06_ts: fix checkpatch errors")' Change-Id: I36ed0497c12b0f14e9d7b60c2d8e78729871b8d0 Signed-off-by: Shantanu Jain <shjain@codeaurora.org> Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | | Merge "input: ft5x06_ts: Add driver for ft5x06 series"Linux Build Service Account2016-07-27
|\ \ \ | |/ / |/| |
| * | input: ft5x06_ts: Add driver for ft5x06 seriesMohan Pallaka2016-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ft5x06 controllers are single chip capacitive touch panel controller ICs with a built-in 8 bit Micro Controller Unit. It supports multi-touch capability and can detect up to five touches. Change-Id: I39eb1175d473d1f2c463e1c4a0a1606307da9dc0 Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org> (cherry picked from commit a2595074a6528a1a2d28470c11ed14c21081068c)
* | | input: it7258_ts_i2c: clean up the it7258_ts_i2c driverSudhakar Manapati2016-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean it7258_ts_i2c touchscreen driver from checkpatch errors. This patch is a propagated patch from 3.18 kernel 'commit 6b0cae0c59dc ("input: it7258_ts_i2c: clean checkpatch errors")' Change-Id: I7eac4a04a19beebe8c89b5328a2cf921fa78bb69 Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org> Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | | input: touchscreen: remove dead code in it7258 driverSudhakar Manapati2016-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | IT7258 touchscreen driver creates a character device which is not used by anyone. Remove this dead code Change-Id: Ied8a0048d8af17fa593c1970cabb572aac338786 Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | | input: touchscreen: Add Touch screen driver for IC it7258Alfred.Deng2016-07-22
|/ / | | | | | | | | | | | | | | | | | | | | | | This is the reference driver source code of it7258 touchscreen driver. Signed-off-by: Alfred Deng <Alfred.Deng@ite.com.tw> Git-commit: 3852a7ccce89c17ec3c4165acf9c81753c940104 Git-repo: git://github.com/ite-touch/touchscreen-driver Change-Id: Ic1eab3ba79b8e8e5c259bb92f2692fd0db5fc8d3 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org> (cherry picked from commit c25c3f1a0f29d7989b7d7058da74e465665bf279) Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | input: touchscreen: synaptics_dsx: Set power specificationsAlex Sarraf2016-04-27
| | | | | | | | | | | | | | Set voltage and current specifications for LDOs. Change-Id: I6e666390ddbdd8128b6ebff8e2deb8c85cf35b21 Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* | input: synaptics_dsx_2.6: update driver to enable touch S332UMao Li2016-03-25
| | | | | | | | | | | | | | | | | | | | Synaptics reference driver V2.6 is being cleaned up to enable touch controller S332U. Add Kconfig and Makefile changes to enable Synaptics dsx V2.6 driver's compilation. CRs-Fixed: 943896 Change-Id: I7e79e9ee321b7a7c90d27f065281dc73cee65391 Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: gen_vkeys: squash commit from 3.14-kernelMohan Pallaka2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash and apply the following changes taken from the msm-3.14 kernel branch as of msm-3.14 commit 8139d0b4e7a6d ("ARM: dts: msm: Set flag to manage clks") commit c24a3df92a457643cc0821eb9e8f392ae5a907ee Author: Amy Maloche <amaloche@codeaurora.org> Date: Thu May 9 10:23:41 2013 -0700 input: gen_vkeys: Make y_offset an optional property Not all targets will need the y coordinate shifted to function properly, so set this value as default 0. Change-Id: I1816433c3601fe099ffb8ee275637e573990e432 Signed-off-by: Amy Maloche <amaloche@codeaurora.org> Documentation/devicetree/bindings/input/gen_vkeys.txt drivers/input/touchscreen/gen_vkeys.c 2 files changed, 13 insertions(+), 5 deletions(-) commit bb2ac18f8fab38fa12d8a7d8b7ee80d9c0049329 Author: Amy Maloche <amaloche@codeaurora.org> Date: Wed Apr 17 12:15:56 2013 -0700 vkeys: gen_vkeys: Add key position offset Add virtual key position offset to match virtual key positions with front panel. Change-Id: Ibbf89e816d9654f202b75470df0c673aa42439c8 Acked-by: Chun Zhang <chunz@qti.qualcomm.com> Signed-off-by: Amy Maloche <amaloche@codeaurora.org> Documentation/devicetree/bindings/input/gen_vkeys.txt drivers/input/touchscreen/gen_vkeys.c include/linux/input/gen_vkeys.h 3 files changed, 10 insertions(+), 2 deletions(-) commit 1a6d213cf5a3e40d8b39507e2b010dc81de63630 Author: Mohan Pallaka <mpallaka@codeaurora.org> Date: Wed Aug 8 11:25:52 2012 +0530 input: Add support for virtual key generation Virtual keys are used for navigation on Android. These are not specific to the controller used in the target but are specific to the target. Add a module to generate virtual keys independently of the controller. Change-Id: I0c86dc77f1bc53c283e990be419c2715edf4e1c0 Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org> Signed-off-by: Amy Maloche <amaloche@codeaurora.org> [stepanm@codeaurora.org: resolve Kconfig conflicts] Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org> .../devicetree/bindings/input/gen_vkeys.txt drivers/input/touchscreen/Kconfig drivers/input/touchscreen/Makefile drivers/input/touchscreen/gen_vkeys.c include/linux/input/gen_vkeys.h 5 files changed, 278 insertions(+) Change-Id: Ie0e14d201a42632af57ff23dc85cec8881125e5a Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* | input: synaptics: defer touch resume to workqueuezhaoyuan2016-03-23
| | | | | | | | | | | | | | | | | | | | | | During device resume, the touch resume function is called after display resume. Touch resume function will take about >200ms. Defer the touch resume function to a workqueue to reduce the total device resume time. An optional DT property is added to enable this on targets that need this feature. Change-Id: Ia9b055144c5a7f29f0f0d57428cccbe15a7d7a87 Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
* | input: synaptics_dsx_i2c: pass correct QUP Instance to scm callHimanshu Aggarwal2016-03-23
| | | | | | | | | | | | | | | | | | Pass the correct QUP instance to the scm call. This is required for QUP ownership transfer to other subsystems to support the secure touch usecase. Change-Id: I3ff53544fc58db908669cddce155f786dde23c41 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | input: synaptics_dsx: enter touch LPM in suspendMao Li2016-03-23
| | | | | | | | | | | | | | | | S332U needs to pull down the reset pin after it enters onto sleep mode to ensure the LPM is enabled. Change-Id: Ia8d8c1e788eb7d3524df979ad2d9e17ee15c26f2 Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: synaptics_dsx_i2c: add support for QUP ownership transferHimanshu Aggarwal2016-03-23
| | | | | | | | | | | | | | | | Add support for QUP ownership transfer to other subsystems to support the secure touch usecase. Change-Id: I70fd5fb81ce8763095bcfa2feb71d9d806d14bd4 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | input: maxim_sti: add support for multitouch protocol BJigarkumar Kishorkumar Zala2016-03-23
| | | | | | | | | | | | | | | | Add support for multitouch procotol B, in order to track object based ID touch activities. Change-Id: I9b6941b3fea2f5c28434793073330cd4abe9fa74 Signed-off-by: Jigarkumar Kishorkumar Zala <j_zala@codeaurora.org>
* | input: touchpanel: Add Synaptics latest version 2.6 touchpanel driverMao Li2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the reference driver source code for synaptics touch driver, the version is 2.6. All the new files are copied from the git commit: 7b6b9d126aca1f371e8abf3ae56d7a5a4e538f13 drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_active_pen.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_active_pen.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_core.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_core.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_core.h is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_core.h; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_fw_update.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_fw_update.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_gesture.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_gesture.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_i2c.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_i2c.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_proximity.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_proximity.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_rmi_dev.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_dev.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_rmi_hid_i2c.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_hid_i2c.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_spi.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_spi.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_test_reporting.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_test_reporting.c drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_video.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_video.c include/linux/input/synaptics_dsx_v2_6.h is copied from kernel/include/linux/input/synaptics_dsx.h Change-Id: Ifda2c38ca5b4a82c3363d8c59ae9da3839568e82 Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: touchscreen: maxim_sti: remove SPI data swap in byteChun Zhang2016-03-23
| | | | | | | | | | | | | | | | | | | | | | SPI bus driver did data swap to address big-little endian conversion. However, recent change in bus driver removes this conversion to align with hardware peripheral design. Therefore, touchscreen driver sets SPI bits per word to 16 in order to achieve best data transfer performance and remove this swap. Change-Id: Id24417e5afe055315b4c173961509aa7d6806034 Signed-off-by: Chun Zhang <chunz@codeaurora.org>
* | drivers: atmel_maxtouch_ts: fix compilation errorsHimanshu Aggarwal2016-03-23
| | | | | | | | | | | | | | Fix compilation errors when secure touch feature is enabled. Change-Id: I9efd1aee5b9615b065d556c4a19d6bf790221db1 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | input: atmel_maxtouch_ts: squash commit from 3.14 kernelAmy Maloche2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash and apply the following touchscreen changes taken from the msm-3.14 kernel branch as of msm-3.14 commit 8139d0b (ARM: dts: msm: Set flag to manage clks during suspend for msm8996) 421c2f3 input: touchscreen: atmel_maxtouch_ts: delay init call 48e0a07 input: atmel_maxtouch_ts: recover from bootloader b3ebb61 input: atmel_maxtouch_ts: add support for force cfg update 8467fe3 input: atmel_maxtouch_ts: fix firmware update routines c83ee59 input: atmel: Secure Touch support 1c7d5e2 input: atmel_maxtouch_ts: fix power up sequence d4c1ffc input: atmel_maxtouch_ts: add support to ignore CRC f402790 input: atmel_maxtouch_ts: add support for standard features 9374cef input: atmel_maxtouch_ts: use proper data types 0fbe83e input: atmel_maxtouch_ts: add regulator error conditions e22d100 input: atmel_maxtouch_ts: add gpio support 63d4b74 input: atmel_maxtouch_ts: add device tree support 575c2fc input: atmel_maxtouch_ts: enable compilation on 3.10 kenrel Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* | input: touchscreen: add Kconfig & Makefile entries for atmel_maxtouch_tsAmy Maloche2016-03-23
| | | | | | | | | | | | | | | | Add entries so compilation can be chosen for latest Atmel touchscreen driver. Change-Id: Ib63a56215e52cc80cb8532c50b16112d39c1e6f7 Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
* | input: atmel_maxtouch_ts: Add latest Atmel driver supportNick Dyer2016-03-23
| | | | | | | | | | | | | | | | | | | | Git-commit: 482584a6c0d863e04a03837a79c1e79b2769aaee Git-repo: git://github.com/atmel-maxtouch/maxtouch-v3.0.git Change-Id: Ifdd872d1aacd5752aab1a218e18e2cbc1582c17f Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk> Signed-off-by: Amy Maloche <amaloche@codeaurora.org> [joshc: fixed up INIT_COMPLETION() usage] Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
* | input: synaptics_dsx_core: clear all outstanding completionsHimanshu Aggarwal2016-03-23
| | | | | | | | | | | | | | | | | | | | The secure touch ISR and the poll logic in the user space layer is going out of sync because the completion lock in the driver is getting released in some corner cases unexpectedly. Clear all outstanding completions before waiting for one helps fix the issue. Change-Id: Ia3a6d318330263e7bfd8dfc3cea71c5300ab82b4 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | input: synaptics_dsx: add reset in resume functionMao Li2016-03-23
| | | | | | | | | | | | | | | | Add reset in resume function to enable touch panel S332U for MSM8996 DTP. Change-Id: Id13ee3a8426cbd90692bc8a658f166c79accd7fd Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: synaptics_dsx_fw_update: modify firmware upgrade procedureHimanshu Aggarwal2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the firmware upgrade procedure based on the following requirements: If config id of the firmware file is greater than the config id in the device and if packrat id of the firmware img file is greater than the firmware build id in the device, then during the firmware upgrade procedure, both firmware and config areas are upgraded. Otherwise, if the packrat id of the firmware img file is equal to the firmware build id in the device, then only the config area is upgraded. However, if the packrat id of the firmware img file is lesser than the firmware build id in the device, then it is considered as an error. Similarly, if config id of the firmware file is equal to the config id in the device and if packrat id of the firmware img file is greater than the firmware build id in the device, then during the firmware upgrade procedure, both firmware and config areas are upgraded. Otherwise, if the packrat id of the firmware img file is equal to the firmware build id in the device, then no upgrade is needed. However, if the packrat id of the firmware img file is lesser than the firmware build id in the device, then it is considered as an error. This is a propagated patch from 3.10 kernel commit - d9921ff0ce4024b43837d794cc261b52ae58f776 , input: synaptics_dsx_fw_update: modify firmware upgrade procedure Change-Id: I646d2c04243a30b77d48698cce76e9e183bd6db1 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | input: synaptics_dsx_fw_update: update fw based on config idHimanshu Aggarwal2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | Update the firmware based on strict config ID versioning, rather than the entire config ID as a 4 byte number. This will also protect against config ID major number mismatches and packrat id mismatches. This is a propagated patch from 3.10 kernel. commit - 458cbab5c53d5141a66590441f9567d67d580c6f, input: synaptics_dsx_fw_update: update fw based on config id Change-Id: I1097585d3bd8b6ab753676dc56f268c7ce52680d Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | input: synaptics_dsx: Read touchscreen config-id during probeSudhakar Manapati2016-03-23
| | | | | | | | | | | | | | | | | | | | Add support for reading configuration ID from the touch controller during probe and print it. This is required to identify if touch controller is programmed with correct touch firmware or not. Change-Id: I155f0392ae67e5f9b184b9cef2a7bbb7666be30d Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org> Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | input: synaptics_dsx: correct the debug message errorAbinaya P2016-03-23
| | | | | | | | | | | | | | | | Parse the panel coordinates before using it for the debug message. Change-Id: I6e893b91e9f11cf7d80602058358d8256a96726d Signed-off-by: Abinaya P <abinayap@codeaurora.org>