summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen (follow)
Commit message (Collapse)AuthorAge
...
| * | | input: touchpanel: Add power control to GT9xx driverBingzhe Cai2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add power initialization function to request internal and external LDO depends on device tree configuration. Add power control function to enable and disable device power. Change-Id: If063900f8cd61c36c4b200d781c68e742cd6bbaf Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
| * | | input: touchpanel: Add DT support for Goodix touchpanel driverBingzhe Cai2016-09-12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Add device tree parser to allow Goodix touchpanel driver to get board dependent configuration from device tree. Change-Id: I702400140130fd3b673e0e13a8dbdb7060bba881 Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* | | Merge "input: synaptics_2.6: add pinctrl support for Synaptics 2.6 driver"Linux Build Service Account2016-09-12
|\ \ \ | |/ / |/| |
| * | input: synaptics_2.6: add pinctrl support for Synaptics 2.6 driverChangmin Liu2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add pinctrl support for Synaptics S2333 controller so that the irq and pwr pins could be pulled up when probed and resumed. Furthermore, they should be pulled down when suspended and removed. Change-Id: If517747243a605eacd1f6ffd6d1f7c0d45d06c1b Signed-off-by: Changmin Liu <changmil@codeaurora.org>
| * | input: synaptics_dsx_2.6: not reinit when spontaneous reset is detectedXiaonian Wang2016-09-11
| | | | | | | | | | | | | | | | | | | | | | | | There is no need to reinit device when spontaneous reset is detected, touch will recover by itself. Change-Id: Ifb5b134d0fbeb2f55f16af8806abb9c8e51c35e0 Signed-off-by: Xiaonian Wang <xiaonian@codeaurora.org>
| * | input: synaptics_dsx_2.6: correct secure_touch_init functionShantanu Jain2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In synaptics_dsx_2.6 touch driver, secure_touch_init tries to get the QUP clocks for the secure touch functionality. But as these calls are optional and TZ might get the owenership of these clocks, this change removes the error return statement, so that the secure touch can be initialized properly. Change-Id: I12b5075d484cd397bfb423479589e159a2193f31 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | | input: ft5x06: check return value of kobject_create_and_addHimanshu Aggarwal2016-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Focaltech driver creates a sysfs under sys/kernel/ts_info to access touch panel details. However, the return value of the API is not checked properly. Check the return value of the API. Also avoid making a duplicate copy of the kobject and clean up the show routine. Change-Id: Ib36e9d7661ee3d2ce7b229d8692e6212e33cbf36 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
* | | input: ft5x06: Add support for clocks for secure touch on 8937 QRDAbinaya P2016-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of a change in the underlying bus driver, the secure touch layer in the input drivers is now required to control directly the clocks which are needed during the touch sessions. The clocks which are associated with the underlying I2C bus are clk_gcc_blsp1_ahb_clk and clk_gcc_blsp1_qup3_i2c_apps_clk. These clocks are turned on/off when the secure touch session is started/ended. Change-Id: If5abca579e264cc7799310628c4e379ac4368e7e Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | | input: ft5x06: create secure touch sysfs filesAbinaya P2016-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch creates two sysfs files for secure touch - secure_touch and secure_touch_enable which will be accessed by secure ui app. We also define the store and show function for these sysfs files. Change-Id: I4bc156de12a8b41c3640c4f1fb2d32ca3d8b5b43 Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | | input: ft5x06: add secure touch support for Focaltech on 8937 QRDAbinaya P2016-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8937 QRD supports Focaltech touch controller. For ft5x06_ts driver to work with the TrustZone secure touch, all the touch interrupts must be forwarded between the Linux Kernel and the TrustZone input driver. Add APIs and configuration to support this. CRs-Fixed: 974549 Change-Id: Ibf873594722c6f299eb4cacf81804cb6548824a4 Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | | input: ft5x06: defer touch resume to workqueuezhaoyuan2016-09-05
|/ / | | | | | | | | | | | | | | | | | | | | | | During device resume, the touch resume function is called after display's resume. In this case, the ft5x06's resume function needs to wait for 200ms because of reset requirement. Defer the touch resume to a workqueue to reduce the total device resume time. For this an optional DT property is added to enable this on targets that need this feature. Change-Id: Ib0677ca792aea83ece1caf8a0afff341302747fb Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org> Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
* | input: ft5x06_ts: add sysfs to access touch module infoMao Li2016-08-30
| | | | | | | | | | | | | | | | Add sysfs under sys/kernel/ts_info to access touch vendor name, model number, firmware version. Change-Id: I531c7fa7db2b7140e5b9c7bb31831d221c734e3e Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: ft5x06_ts: remove proximity sensor supportSudhakar Manapati2016-08-30
| | | | | | | | | | | | | | | | remove psensor support as the linux/sensors.h file is not yet merged in msm-3.18 kernel. Change-Id: I6d46b35938b7420072f9245ffa27bb59f28d5e03 Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* | input: sensors: change sensors classdev device's parent to input devicesSudhakar Manapati2016-08-30
| | | | | | | | | | | | | | | | | | Sensor HAL takes long time to scan /dev/input to get information from input subsystem. Change sensors sysfs hierarchy to avoid the scanning to reduce sensor HAL initialization time. Change-Id: Ifcd560dacdba2600f2ae5d40a5c3e639ea291274 Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* | input: ft5x06_ts: correct the status of the pocket modeMao Li2016-08-30
| | | | | | | | | | | | | | | | | | Do not need to call function to enter pocket mode if the touch panel is already in pocket mode as well as no need to call function to leave pocket mode if it is not in pocket mode. Change-Id: Ic26376bebeba8e7f0dd37ef3bfbbed36c621604b Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: ft5x06_ts: fix compiling error in FT CTP driverMao Li2016-08-30
| | | | | | | | | | | | | | | | Change dev_debug to dev_dbg to fix compiling error if CONFIG_TOUCHSCREEN_FT5X06_PSENSOR is enabled. Change-Id: Ic228ac8b6dec0bc3e1aaff890dc5b1b7c024bdfc Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: ft5x06_ts: do not free input_dev after unregister itMao Li2016-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once the input device is successfully registered via input_register_device(), it has to be unregistered via input_unregister_device(); input_free_device() should not be called in this case. input_unregister_device() frees the input device, hence the call to input_free_device() is a double free. This is also described in comments of input_unregister_device(). Reorganize the code to avoid a double free. Change-Id: I7abee3f1ad6c73e1c38aa64e627ffd73f6f9d3b2 Signed-off-by: Mao Li <maol@codeaurora.org>
* | input: ft5x06_ts: add gesture feature supportMao Li2016-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Focaltech touch controller FT6436 support new feature Screen-off-Gesture. It is able to turn on the screen by drawing gestures on the touch screen when the screen is during off status. Enable the FT CTP driver to support the screen off gesture recognization. This patch is propagated from msm-3.18 kernel. 'commit 5cc0bff80d65 ("input: ft5x06_ts: add gesture feature support")' Also cleared the following checkpatch warnings. - Missing a blank line after declarations - Missing a blank line after declarations - Comparisons should place the constant on the right side of the test. Change-Id: I77d111d3ef800b636a337221d7e605f746a113dd Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* | ARM: dts: msm: correct Focaltech CTP irq flag configurationMao Li2016-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed below irq flag issues of Focaltech CTP: Focaltech CTP firmware generates edge interrupt to MSM, but the interrupt type in DTSI is level, which will cause CTP interrupt cannot wake up MSM when system is in deep sleep. Fix this by setting edge irq flag in DTSI. For GPIO irq, the irq flag should be specified in "interrupts" node. Msm_gpio module will only use the lower 8-bit of "interrupts" node and discards the upper bits. If we specify 0x2002 in "interrupts" node, the upper bits(0x2000) is not used by msm_gpio, only lower bits(0x2) is used, that means only lower bits(0x2) should be set in "interrupts" node. "focaltech,irq-gpio" node is used to specify gpio property, rather than irq flag. Remove the irq flag setting in this node. In driver code, specify only "IRQF_ONESHOT". The irq trigger type is specified by DTSI "interrupts" node. See above. Change-Id: I4cd8596fb4538b701317f01a6cafaa771041ffdd Signed-off-by: Mao Li <maol@codeaurora.org>
* | Merge "input: synaptics_dsx_2.6: correct sysfs permissions"Linux Build Service Account2016-08-29
|\ \
| * | input: synaptics_dsx_2.6: correct sysfs permissionsAbinaya P2016-08-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set correct permissions for sysfs nodes. 1. Show method of write only sysfs attributes is set to NULL since the attributes are write-only. 2. Store method of read only sysfs attributes is set to NULL since the attributes are read-only. Change-Id: I93b14e22da57a8a47a02080a05a9b8c666970272 Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* | | Merge "Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into ↵Linux Build Service Account2016-08-29
|\ \ \ | | | | | | | | | | | | msm-4.4""
| * | | Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4"Trilok Soni2016-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9d6fd2c3e9fcfb ("Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4"), because it breaks the dump parsing tools due to kernel can be loaded anywhere in the memory now and not fixed at linear mapping. Change-Id: Id416f0a249d803442847d09ac47781147b0d0ee6 Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
* | | | Merge "input: synaptics_dsx_2.6: fix issues raised by static analyzer"Linux Build Service Account2016-08-26
|\ \ \ \ | | |/ / | |/| |
| * | | input: synaptics_dsx_2.6: fix issues raised by static analyzerShantanu Jain2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issues raised by static analyzer: 1. initialize "retval" before being returned from the driver function. 2. Check return value of the function create_singlethread_workqueue() and return -ENOMEM if it failed. If creation of the workqueue failed, then both queue_work() and queue_delayed_work() calls will later crash, as they expect the workqueue pointer to be a non-NULL value. Also add clean-up code for this. 3. check return value of the snprintf() call as array 'buf' of size 16 may use index value(s) 16...20. CRs-Fixed: 995687 Change-Id: I89d9f7cacbcf23de43a7e96556d1ac65911126d6 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | | input: synaptics_dsx_2.6: fix CTP power issue for QRD8953Mao Li2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synaptics touch controller does not go to sleep in suspend because L6 is still enabled. Disable L6 in suspend to ensure CTP go into sleep mode. Change-Id: I40f3f380c1a85c292029d4e22e49bebf25bd198c Signed-off-by: Mao Li <maol@codeaurora.org>
| * | | input: synaptics: defer touch resume to workqueue for v2.6 driverzhaoyuan2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. This change has been merged. Now, touch driver was updated to V2.6, so, merge this change to V2.6 driver. Change-Id: Ica477f35bd4fda59eb49c9b4f5e88b460366c761 Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
| * | | input: synaptics_dsx_2.6: Add support for clocks for secure touchShantanu Jain2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of a change in the underlying bus driver, the secure touch layer in the input drivers is now required to control directly the clocks which are needed during the touch sessions. The clocks which are associated with the underlying I2C bus are clk_gcc_blsp1_ahb_clk and clk_gcc_blsp1_qup3_i2c_apps_clk. These clocks are turned on/off when the secure touch session is started/ended. CRs-Fixed: 990820 Change-Id: Ie2f6f5b736b27792e6e4dc2c39064e0ebdc03d7b Signed-off-by: Shantanu Jain <shjain@codeaurora.org> Signed-off-by: Abinaya P <abinayap@codeaurora.org>
| * | | input: synaptics_dsx_2.6: remove fake touch pointsMao Li2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update F12 touch report function with adding input_sync to correct the pointer reporting status. Change-Id: Iefe24525a9551736a6044697b447a25e2c5c65ca Signed-off-by: Mao Li <maol@codeaurora.org>
| * | | input: synaptics_dsx_2.6: creation of secure touch sysfs ifilesShantanu Jain2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch creates two sysfs files for secure touch - secure_touch and secure_touch_enable, which will be accessed by secure UI app. We also define the store and show function for these sysfs files. Change-Id: Id43118120d4a1f0682904f48b3584d3ba62ef1dd Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | | input: synaptics_dsx_2.6: add secure touch support for Synaptics V2.6Shantanu Jain2016-08-24
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 8953 QRD supports Synaptics touch controller. For synaptics_dsx_2.6 driver to work with the TrustZone secure touch, all the touch interrupts must be forwarded between the Linux Kernel and the TrustZone input driver. Add APIs and configuration to support this. Change-Id: I47520f9ba91b7645dff2c11b4c58a0b7aeed2765 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | | Merge "input: ft5x06_ts: add proximity feature support"Linux Build Service Account2016-08-26
|\ \ \ | |/ / |/| |
| * | input: ft5x06_ts: add proximity feature supportMao Li2016-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Focaltech's CTP FT6436 is able to behave like a proximity sensor. Enable the driver support this new feature. Also cleared the chekpatch warning on 3.18 kernel. Change-Id: I7a6ec3a387536c512637b0bd8dab95e7cceca212 Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org> Signed-off-by: Abinaya P <abinayap@codeaurora.org>
| * | input: ft5x06_ts: add NULL pointer checkSudhakar Manapati2016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add null pointer exception check for pointers which may be NULL after memory allocation failure and may be deferenced. This patch is propagated from msm-3.18 kernel. 'commit 5c6aa1bb97a3 ("input: ft5x06_ts: add NULL pointer check")' Change-Id: Ied34d548bff27f8f6da9f4c81896e4505cdce218 Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
| * | input: ft5x06_ts: pinctrl and gpio config in suspend/resume pathSudhakar Manapati2016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When device switch to suspend state the gpio and pinctrl need to be configured properly to prevent the touch controller current leakage in device suspend state. The pinctrl must be configure first before the gpio configuration. Select the pinctrl sleep state and after that in gpio configuration part free both IRQ and reset gpio, and also set direction of reset gpio to be input. If the gpio and pinctrl is not in proper state the touch controller will not switch to the deep sleep state and it will start consume current during the device suspend state. To prevent this leakage current issue, pinctrl and gpio must be configured properly. This patch is propagated from msm-3.18 kernel. 'commit 494eae39f2a4 ("input: ft5x06_ts: pinctrl and gpio config in suspend/resume path")' Also cleared checkpatch errors on msm-3.18 kernel. Change-Id: I0ec72bbbf12320ad22608522d1250614c6686fe3 Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
| * | input: focaltech: release pinctrl resources on probe failureShantanu Jain2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_pinctrl_get() does not release the ownership of mux function of pins in the associated pin-group whenever a failure occurs in driver probe routine. i.e struct pin_desc's mux_owner field is still marked as being in use after a failure occurs in probe. As a result of this, if another driver tries to acquire the ownership of same pin, it gets an error while applying that setting. To fix this, explicitly release the mux function ownership of the the pin, by adding a new pin-group in pinctrl DT and a new pinctrl state in touch device's DT node. This new pin-group does not have a function setting (qcom,pin-func property). This new state is explicitly activated during a probe failure and driver remove routine to release the mux function ownership. The patch also reorganizes the pinctrl related code in driver. This patch is propagated from msm-3.18 kernel. 'commit f09a0560dde9 ("input: focaltech: release pinctrl resources on probe failure")' Change-Id: I16a97fefc64dd171deb800b481aa74a797c9ad55 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | input: ft5x06_ts: fix the Focaltech CTP current leakage issueMao Li2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Focaltech touch controller does not go to sleep in suspend because the pinctrl operation inadvertently resets the touch controller. Remove the pinctrl operation in suspend and resume callback to prevent this spurious reset. This patch is propagated from msm-3.18 kernel. 'commit 7e2ea02b16de ("input: ft5x06_ts: fix the Focaltech CTP current leakage issue")' CRs-Fixed: 1046961 Change-Id: Ifa02c0287195d7ce55fb2d8ac49ec1c8ae5baec9 Signed-off-by: Mao Li <maol@codeaurora.org>
| * | input: ft5x06_ts: add support for pinctrl frameworkMao Li2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate the Focaltech driver to use pinctrl framework for GPIO configuration so that driver is compatible with targets that use and targets that don't use pinctrl framework. This patch is propagated from 3.18 kernel 'commit 266d1fe0f630 ("input: ft5x06_ts: add support for pinctrl framework")' Change-Id: I84fc2a6d30f831b4b054780b107ce105614855ea Signed-off-by: Mao Li <maol@codeaurora.org>
| * | input: ft5x06_ts: check vendor id before upgrade FT firmwareMao Li2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade the firmware only if same vendor id is found both in existing fw and new fw to be upgraded. This patch is propagated from 3.18 kernel 'commit dba19fc86781 ("input: ft5x06_ts: check vendor id before upgrade FT firmware")' Change-Id: Idfc50da45891a1475ac6b35d80c7d725607cbf81 Signed-off-by: Mao Li <maol@codeaurora.org>
| * | input: touchscreen: change the focaltech firmware upgrade methodSudhakar Manapati2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upgarde firmware on the touch controller when the new firmware version is geater than the current firmware version. Update the firmware version id after successful firmware update. skip firmware update when device is in suspend state. This patch is propagated from msm-3.18 kernel 'commit 8399308e570e ("input: touchscreen: change the focaltech firmware upgrade method")' CRs-Fixed: 1046961 Change-Id: Ic462f6483887a3654665852e58ae9891de9f5eff Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
| * | input: ft5x06_ts: add support for firmware update for CTP FT6X36Mao Li2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The firmware image format is changed in CTP FT6436. Also vendor id and version id are read from fw image from a different offset as compared to previous controllers. The driver is updated to support the new image format. This patch is propagated from msm-3.18 kernel 'commit 6146c68f81b4 ("input: ft5x06_ts: add support for firmware update for CTP FT6X36")' Change-Id: I465fdfa73e56e8fc4bbfdde980c558e4715d6d08 Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
| * | input: ft5x06_ts: remove deprecated apis in 3.18 kernelSudhakar Manapati2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the usage of deprecated apis like usleep(), __devexit_p, etc. This is a propagated patch from 3.18 kernel 'commit 20482b216b8a ("input: ft5x06_ts: remove deprecated apis in 3.18 kernel")' Change-Id: I77cedabdb234a643f96427f051038faad31bfdcf Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
| * | input: ft5x06: add support when CONFIG_PM is not definedChun Zhang2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CONFIG_PM is not defined, there are some compilation errors, because it introduces undeclared touch suspend and resume function. This patch is propagated from 3.18 kernel 'commit a144428c6e02 ("input: ft5x06: add support when CONFIG_PM is not defined")' Change-Id: I869bd41270ea240c671e5478126a61d4ff2088dc Signed-off-by: Chun Zhang <chunz@codeaurora.org>
| * | input: touchscreen: request threaded-only IRQs with IRQF_ONESHOTShantanu Jain2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Threaded IRQs without primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. This patch adds the IRQF_ONESHOT to the focaltech touchscreen driver where it is missing. This patch is propagated from 3.18 kernel 'commit 4e8b58e99bf7 ("input: touchscreen: request threaded-only IRQs with IRQF_ONESHOT")' Change-Id: I429f48126bd5d28c6dbf6ba846175d5e643dd436 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * | input: touchscreen: ft5x06: fix firmware force update issueBingzhe Cai2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Force firmware update cannot work when touchscreen controller cannot report correct family ID. If touchscreen is does not work in correct state and it reports wrong family ID, it cannot be recovered by force update, this change use family ID from device tree instead of read from controller register to fix this issue. This patch is propagated from 3.18 kernel 'commit a85789530620 ("input: touchscreen: ft5x06: fix firmware force update issue")' Change-Id: I85d24bfc68a7777053c15f28a84027260c68cebd Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
| * | input: touchscreen: ft5x06: add FT5336 firmware update supportBingzhe Cai2016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FT5336 use new firmware bootloader, current driver cannot update its firmware. Driver needs update to support this new firmware bootloader. This patch is propagated from 3.18 kernel 'commit 740d7b108461 ("input: touchscreen: ft5x06: add FT5336 firmware update support")' CRs-Fixed: 1046961 Change-Id: I5c210097a6b3daedce52c4dda806c698cda63968 Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
| * | input: touchscreen: ft5x06: remove unbalanced touch eventBingzhe Cai2016-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Touchscreen driver may generate unbalanced input events when enter suspend state, these unbalanced event will make input system always wait for symmetrical input event and can not handle input event properly. PRESSURE event is removed to keep input events symmetrical. This patch is propagated from msm-3.18 kernel 'commit 15725c248511 ("input: touchscreen: ft5x06: remove unbalanced touch event")' CRs-Fixed: 566134 Change-Id: I3f6fda3fb5d0a717ae943a9113be89623c96ce61 Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
* | | Merge "input: touchscreen: add option to ignore Focaltech family-id check"Linux Build Service Account2016-08-18
|\| |
| * | input: touchscreen: add option to ignore Focaltech family-id checkBingzhe Cai2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Focaltech touchscreen ICs may use different chip IDs for same module. Add support to ignore ID check for such cases. This patch is propagated from msm-3.10 kernel 'commit d6e831bdf2af ("input: touchscreen: add option to ignore Focaltech family-id check")' Also fix the checkpatch errors. Change-Id: I0fe8da6a5e687317b4878b59ac5d1a4a4b620e1d Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* | | Merge "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4"Linux Build Service Account2016-08-18
|\ \ \