OSDN Git Service

input: msg21xx_ts: update mstar driver to enable msg2138A
authorMao Li <maol@codeaurora.org>
Mon, 11 Aug 2014 06:19:09 +0000 (14:19 +0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 5 Aug 2016 11:35:02 +0000 (04:35 -0700)
commit5218b8f9f8d8b7e986440b5124093cdba8efd903
tree1803ac6212aad76cbcb4c982895e633d91a07d20
parent28352998dee80f33641dd7b28479350bd480b823
input: msg21xx_ts: update mstar driver to enable msg2138A

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>
Documentation/devicetree/bindings/input/touchscreen/msg21xx-ts.txt [new file with mode: 0644]
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/msg21xx_ts.c