summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/msg21xx_ts.c (follow)
Commit message (Collapse)AuthorAge
* input: touchscreen: remove msg21xx mstar touch driverShantanu Jain2017-02-16
| | | | | | | | | Remove msg21xx mstar touch driver from the kernel code as it has never been used in any of the recent platforms. Change-Id: I0ac1f93d9736c402732b6c4a8d22b1bf3500e4c4 Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* input: msg21xx_ts: Mstar touch driver optimizationMao Li2016-08-09
| | | | | | | | | | | | | | | | | | | Mstar driver uses the ic-type DT property for dynamic detection support. Driver reads a register from the controller and compares both the values to check if connected touch controller is of Mstar or not. Remove all DBG messages and convert them to dev_dbg/info. Add a debugfs entry for suspend/resume. Remove ts_data/pdata global declaration and use dev_get_drvdata() and input_set_drvdata()/dev_set_drvdata() instead. This patch is propagated from 3.18 kernel 'commit adbc104e3cb8 ("input: msg21xx_ts: Mstar touch driver optimization")' Change-Id: Ia053745d48faf68b946fbb0cf16d392cbfdd2a3c 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: msg21xx_ts: add support for firmware upgradeMao Li2016-08-09
| | | | | | | | | | | | | | | | | Add sysfs entries to upgrade the firmware from userspace. Update_fw sysfs entry upgrades the firmware inside the touch controller only when the controller's firmware version is lesser than that in userspace's firmware file. Force firmware upgrade sysfs entry forcefully upgrades the firmware inside the touch controller even when the controller's firmware version matches that of the firmware file in userspace. This patch is propagated from 3.18 kernel 'commit 580ca1a4437e ("input: msg21xx_ts: add support for firmware upgrade")' Change-Id: Ib6046de5230c395b48818d01f26eb9394046808b Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* input: msg21xx_ts: release touch when finger leaves the panelMao Li2016-08-09
| | | | | | | | | | | When fingers on the panel decrease, release corresponding touches. This patch is propagated from 3.18 kernel 'commit 24e3a5036d3c ("input: msg21xx_ts: release touch when finger leaves the panel")' Change-Id: Iafc3a9dda252417fcd06e3d9d24fb73b4d6f8e58 Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
* input: msg21xx_ts: update mstar driver to enable msg2138AMao Li2016-08-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mstar reference driver is being cleaned up to be checkpatch compliant. Add Kconfig and Makefile changes to enable Mstar driver's compilation. And following new features are added to the driver: 1. Pinctrl support 2. Threaded irq support 3. Release all touches in suspend 4. Protocol B compliance 5. Explicit suspend/resume function 6. Configure gpios in suspend/resume function 7. Add device tree parser function 8. Add dtsi support for gpio, regulator, I2C address, display coords This patch is propagated from 3.18 kernel 'commit 091a01709e12 ("input: msg21xx_ts: update mstar driver to enable msg2138A")' Change-Id: Ic49a18de64ec210a0636405394ba7a8f52f336a9 Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org> [abinayap@codeaurora.org: Fix checkpatch errors for 4.4 kernel - Block comments use a trailing */ on a separate line - Comparisons should place the constant on the right side of the test - struct of_device_id should normally be const - DT compatible string vendor "mstar" appears un-documented] Signed-off-by: Abinaya P <abinayap@codeaurora.org>
* 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>