Commit Graph
845 Commits
Author SHA1 Message Date
Linux Build Service Account 29f6c83c6d Merge "input: touchscreen: add multiple config data support for GT9xx" 2013-10-14 06:30:35 -07:00
Linux Build Service Account aafa15ab95 Merge "input: touchscreen: Use proper conventional functions for debug" 2013-10-14 06:30:35 -07:00
Linux Build Service Account c746a798d7 Merge "input: touchscreen: Add dynamic detection support to Goodix driver" 2013-10-14 06:30:34 -07:00
Bingzhe Cai 15d144659f input: touchscreen: add multiple config data support for GT9xx
Goodix GT9xx touchscreen driver supports up to six groups of config
data and uses hardware GPIO configuration to select which one will
be used. This change allows these six config groups to be loaded
from devicetree.

Change-Id: I9dfd698e7084164688dd964ed914d5eecc75ecd3
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-10-14 17:19:29 +08:00
Shantanu Jain 7dc2b470a6 input: touchscreen: Use proper conventional functions for debug
Replace non-standard debug function with the conventional
functions in Goodix driver. And remove unnecessary debug
function used in Goodix driver.

Change-Id: Ia89d225333c1309710aab67b9c406784567e3050
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2013-10-14 17:09:42 +08:00
Shantanu Jain 3f80befce8 input: touchscreen: Add dynamic detection support to Goodix driver
Add dynamic detection support to goodix driver, where
the driver tries to read the chip id and make sure
it is communicating with the right chip.

gtp_read_version is modified to gtp_read_fw_version
which reads the firmware version from the controller
and will be used during fw update process.

CRs-fixed: 538818
Change-Id: I2dc51b84f817413da6bf9b266e2fe7e0bb09c4bc
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2013-10-14 17:07:20 +08:00
Bingzhe Cai d85a69dcb8 input: touchscreen: add option to ignore Focaltech family-id check
Focaltech touchscreen ICs may use different chip IDs for same module.
Add support to ignore ID check for such cases.

Change-Id: I0fe8da6a5e687317b4878b59ac5d1a4a4b620e1d
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-10-09 22:15:31 +08:00
Linux Build Service Account 0e287becd6 Merge "input: atmel_mxt_ts: Support for secure touch polling" 2013-10-03 05:37:37 -07:00
Linux Build Service Account 4ad70bb3b5 Merge "input: synaptics: Avoid kernel crash when voltages are unstable" 2013-10-03 05:37:18 -07:00
Bingzhe Cai 56e43d0333 input: touchpanel: fix security issues in GT915 driver
There are multiple buffer overflow and input validation issues
in Goodix gt915 driver, fix these issues by adding data length
check and change file system node mode.

CRs-Fixed: 526101
Change-Id: I5173fc1ca021fd45c939c7c8a4f460651330de5b
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-10-02 14:39:41 +08:00
Amy Maloche 1e0c66a1cb input: atmel_mxt_ts: Support for secure touch polling
Add support for polling to the secure touch sysfs notification
file.

Change-Id: I08603c7ba9fdf041460f285bfc61d93541c79752
Acked-by: Christian Bolis <cbolis@qti.qualcomm.com>
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-30 11:05:02 -07:00
Alexandra Chin b2d3aeafac input: synaptics: Avoid kernel crash when voltages are unstable
2013.09.24
- Fixed kernel panic when voltages are unstable (error handling)

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: Ie1da0e4215ad7aeff2d5e1df1846e417609afb73
Git-commit: d19d8947f5c24d57fe5ce8b92510401a15b860ba
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Modified commit message for proper form]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-27 13:01:34 -07:00
Linux Build Service Account 76759c9421 Merge "input: synaptics_i2c_rmi4: Enable power saving in suspend mode" 2013-09-27 07:38:56 -07:00
Amy Maloche 80c15573c6 input: synaptics_i2c_rmi4: Enable power saving in suspend mode
Enable power saving in suspend cycle by turning off regulators and
disabling gpios.  Remove software reset on resume so that
active mode power numbers are not impacted.

CRs-fixed: 543944
Change-Id: I1929913691c45693f647a5c4bc08e0fbb85a3ad4
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-26 10:19:49 -07:00
Linux Build Service Account af3cb0facc Merge "input: synaptics_i2c_rmi4: Read display resolution from dt" 2013-09-25 13:18:32 -07:00
Linux Build Service Account 72238865c8 Merge "input: synaptics_i2c_rmi4: Enable user to set reset delay" 2013-09-25 13:18:32 -07:00
Linux Build Service Account 3170131257 Merge "input: synaptics_fw_update: Add necessary delay for polling mode" 2013-09-25 13:18:31 -07:00
Linux Build Service Account df79ce3f5e Merge "input: synaptics_i2c_rmi4: Update driver for S3408 support" 2013-09-25 13:18:30 -07:00
Linux Build Service Account 912f7d3ce4 Merge "input: synaptics_i2c_rmi4: Release touch data before suspend." 2013-09-23 07:13:26 -07:00
Amy Maloche a7983b33d1 input: synaptics_i2c_rmi4: Read display resolution from dt
Read display resolution from platform data in order
to properly use all virtual key implementations.

Change-Id: Ic0a13d6a8166379f08c5bfb49d5ea47ac22b3229
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-19 11:30:40 -07:00
Amy Maloche 8a4421bd83 input: synaptics_i2c_rmi4: Enable user to set reset delay
Allow user to set reset delay in device tree.  Default at
100ms.

Change-Id: Ie785e7b1d6c1c734faee72962f1dee4db7034a65
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-19 11:30:33 -07:00
Amy Maloche cb78b1dc94 input: synaptics_fw_update: Add necessary delay for polling mode
2013.08.27
- Fixed i2c goes down if driver does lockdown during system bootup
  when device is communicated using polling mode.
  The reason is that driver cannot access to device immediately after
  command erase all.

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: Ieff08ee390a00100ed04dcf102ed22932c707b81
Git-commit: 9e65e64c4e12afdc3e49b7bf0a7093f091fd4f31
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Modified commit message for proper form]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-19 11:30:30 -07:00
Amy Maloche 37a75b706a input: synaptics_i2c_rmi4: Update driver for S3408 support
Support flip X & flip Y through sysfs entry and move
lockdown enablement to device tree from #define.

Change-Id: If5cf5fc6c07f9226800823f64d14a01d3651d9aa
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-19 11:30:27 -07:00
Amy Maloche 52e0618e0d input: synaptics_fw_update: Change permissions on lockdown sysfs entry
Permissions should be set to 0664 instead of 0777 for sysfs
entries.  Change them to pass CTS test.

Change-Id: I50237eaa917303efda0ad049649611bf1b6d9c31
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-10 10:57:42 -07:00
Sarada Prasanna Garnayak 0f6f4935d2 input: synaptics_i2c_rmi4: Release touch data before suspend.
Release all touch data before touch device switch to suspend
state.

Change-Id: I17d237cce5e6cb7e092a96e6b40524810849b510
Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@codeaurora.org>
2013-09-06 20:57:42 +05:30
Bingzhe Cai 6beb011ebf input: touchscreen: modify report event according to MT protocol B
Multi-touch(MT) protocol B use input_mt_report_slot_state()
instead of send ABS_MT_TRACKING_ID event directly, so modify
the driver to follow the protocol and remove redundant protocol
A code.

Change-Id: I542e61fabaaa04fcf5fb7e454e10599511f18e39
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-09-05 09:45:24 -07:00
Mohan Pallaka a348d7565e input: ft5x06_ts: Upgrade firmware based on version
Upgrade firmware on the controller only when a new
version of firmware is available.

Change-Id: I4cf75b3c5efb90f151da09ed73b1ba62b9b5bb1c
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2013-08-29 04:40:42 -07:00
Linux Build Service Account b3b0a18bc5 Merge "input: synaptics: Add support for F12" 2013-08-28 12:46:01 -07:00
Linux Build Service Account f10fc740d5 Merge "input: synaptics: Support lockdown in firmware update" 2013-08-28 12:45:42 -07:00
Linux Build Service Account 3cef2c0f2b Merge "input: synaptics: Add support for new firmware versions" 2013-08-28 12:45:41 -07:00
Linux Build Service Account 309c6e83c9 Merge "input: synaptics_i2c_rmi4: Allow GPIOs to suspend during sleep" 2013-08-22 19:57:24 -07:00
Linux Build Service Account a0242940dd Merge "input: synaptics_i2c_rmi4: Enable turning off regulators in suspend" 2013-08-22 19:57:21 -07:00
Linux Build Service Account caaec0d665 Merge "input: ft5x06_ts: Parse board specific parameters from pdata" 2013-08-22 19:55:50 -07:00
Amy Maloche 6a1f55688d input: synaptics_i2c_rmi4: Allow GPIOs to suspend during sleep
In order to save power, enable GPIOs to go into suspened mode
during sleep by freeing them, and re-requesting on wake.

Change-Id: I5b1839f5a15fff0bad13b636be35079a8687fa6a
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-08-20 12:51:36 -07:00
Amy Maloche 72c284f69b input: synaptics_i2c_rmi4: Enable turning off regulators in suspend
In order to save max power, turn regulators completely off
in suspend instead of just putting into low power mode.

Change-Id: Ib325c7acf4c03a63124ed8d4f15b446ac8ad5ecb
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-08-20 12:51:23 -07:00
Mohan Pallaka 9eb064d31c input: ft5x06_ts: Parse board specific parameters from pdata
To support all models supported by focaltech push necessary
parameters to platform data.

Change-Id: I00b0e8ba7cfc8d8fbd48aa910bd3d0010283ed00
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2013-08-20 14:08:41 +05:30
Shantanu Jain 33b1aee9bb input: touchscreen: release all touches before suspend
release all touches before going to suspend for goodix
gt9xx TS driver.

Change-Id: Ia3446f3c23be4fe29bfea5f85b22e8b903cffb9e
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2013-08-19 12:34:48 +08:00
Linux Build Service Account 1344081047 Merge "input: atmel_mxt: Add touch controller state check to enable IRQ" 2013-08-16 17:16:29 -07:00
Linux Build Service Account b4d687e947 Merge "input: touchscreen: Goodix gt915 driver cleanup" 2013-08-16 02:18:09 -07:00
Linux Build Service Account 8be8d36cb4 Merge "input: touchpanel: enable protocol B for skuf CTP driver" 2013-08-16 02:17:51 -07:00
Linux Build Service Account 2296f7e25b Merge "input: touchpanel: Add FB notifications support to GT9xx" 2013-08-16 02:17:49 -07:00
Linux Build Service Account 1f614a5b46 Merge "input: touchpanel: Add power control to GT9xx driver" 2013-08-16 02:17:48 -07:00
Linux Build Service Account fd5f5e290c Merge "input: touchpanel: Add DT support for Goodix touchpanel driver" 2013-08-16 02:17:47 -07:00
Linux Build Service Account 5f231aaff0 Merge "input: touchpanel: Goodix GT915 driver cleanup" 2013-08-16 02:17:46 -07:00
Chun Zhang 53ab020950 input: atmel_mxt: Add touch controller state check to enable IRQ
Touch controller requires enabling IRQ from suspend to wake.
Unpaired enable-disable will cause issues from kernel.

CRs-Fixed: 523607
Change-Id: Ia44e440a2ad05cd60b685714a15828916ca81e7e
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
2013-08-14 11:25:28 -07:00
Alexandra Chin 823a2f50cf input: synaptics: Support lockdown in firmware update
2013.07.29
- Support lockdown in firmware update
- Support write config area from a pure config file
- Skip entering bootloadermode when reading config area
- Use list_for_each_entry_safe if list item will be changed

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: I2d4fb52456088a1f769a7de4fcac6c3e4589a5a5
Git-commit: a1028858bd164b43e5a78fd2d55f153b84529591
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Changes due to base driver
differences]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-08-10 14:49:08 -07:00
Alexandra Chin d9e204dbae input: synaptics: Add support for F12
2013-07-23
- Add F$12 support
- Correct data size in struct image_header_data
- use DECLARE_COMPLETION

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: Ie9c1be58f963467e10ff0355f2c7b5b0244ea003
Git-commit: ca4b0c286031245c28b1fa1aca1e1d1614d6c18e
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Changes due to base driver
differences]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-08-10 14:47:29 -07:00
Alexandra Chin 400f26e50c input: synaptics: Add support for new firmware versions
- Add DS5 firmware update support
- Support polling mode in firmware update

Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Change-Id: Ibf9a6ffcd843866683b3b138af56f09545f3742c
Git-commit: e01cec21f08bc35ba3e97981b967bb4e2c52267a
Git-repo: git://github.com/synaptics-touch/msm-3.4.git
[amaloche@codeaurora.org: Changes due to base driver
differences]
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-08-10 14:46:36 -07:00
Bingzhe Cai 2becc306a1 input: touchpanel: enable protocol B for skuf CTP driver
Skuf use touch panel protocol B for touch event recognition that
needs enable this protocol in driver.

Change-Id: Ic855ed4fb0277a9bc5996bcb310db67b8ccf5c03
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-08-08 05:58:12 -07:00
Bingzhe Cai 7d49bb32bf input: touchpanel: Add FB notifications support to GT9xx
Add support for FB notifications to trigger suspend/resume
based on FB blank/unblank events.

Change-Id: I61803e3a731e047d0641e3b1ccbae58b9bd1bd89
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-08-08 05:57:08 -07:00