summaryrefslogtreecommitdiff
path: root/drivers/input/misc/ots_pat9125 (follow)
Commit message (Collapse)AuthorAge
* input: misc: pat9125: add sysfs for suspend-resume testShantanu Jain2016-10-18
| | | | | | | | | Add sysfs for suspend-resume test in pixart pat9125 driver. This sysfs is used for doing regression testing for pixart pat9125 device. Change-Id: Ia90832f9280f69c367c5d9f404b0d27c656e5c28 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* input: misc: pat9125: add regulator framework supportVevek Venkatesan2016-10-18
| | | | | | | Add regulator framework support for Pixart pat9125 driver. Change-Id: Ia4893c31eefcb5ac23440c67669af936620b31c1 Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
* input: misc: pat9125: add gpio configuration and pinctrl supportVevek Venkatesan2016-10-14
| | | | | | | | | Pat9125 is a gpio driven i2c slave. This change adds the gpio configuration and pinctrl support for pat9125 driver. Change-Id: I2a9b379715622b5f010a5780ca481da7f9619400 Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* input: pat9125: add support of sending rotating switch eventsVevek Venkatesan2016-10-12
| | | | | | | | | Add support of reading the status of the device, parsing it and sending it to the Input framework using the input APIs. Change-Id: Iebc3767e9dbcf10a541b8b02f8696da84312447a Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* input: misc: add Kconfig and Makefile for pat9125Vevek Venkatesan2016-10-11
| | | | | | | | Add Makefile and Kconfig to build Pixart PAT9125 rotating switch driver. Change-Id: I5e7bc2ed8dce0b1dde4931e653db4233e90ed1cd Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
* input: misc: pat9125: code clean-up in pat9125 driverVevek Venkatesan2016-10-09
| | | | | | | | | | | | | | | | Remove redundant code from the Pixart PAT9125 reference driver - Remove unwanted struct declarations and definitions - Remove unwanted header files - Dynamically allocate platform data structure - Change pr_err to dev_err - Changes as per Linux coding guidelines - Clean-up probe and remove routines - Remove unwanted file operations - Remove unused functions and variables Change-Id: I71b1d2548dc07c21ab8f12327662f5bb6998cdcb Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* input: misc: pat9125: fix issues found in static analysisHimanshu Aggarwal2016-10-09
| | | | | | | | | | | | | | | | Fix the following issues found in static analysis: - missing blank lines after declarations - unnecessary return in a void function - exporting world writable files is usually an error - block comments use * on subsequent and trailing lines - Add DT binding description and vendor prefixe for the driver. - Add Linux Foundation copyright markings. Change-Id: Id2ed9a6d4e31bd2acd3185bf7ef9c78f8a41cf36 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org> Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* This is the reference driver source code for Pixart OTS PAT9125.Lawrence Liao2016-10-10
Change-Id: Ie366894e9e89707fa2950a7ffbfe4e93059a19a3 Signed-off-by: Lawrence Liao <lawrence_liao@pixart.com> (cherry picked from commit dfc4349a8aa02bb0b7b0639ad5368a5c85f6520f) Git-commit: dfc4349a8aa02bb0b7b0639ad5368a5c85f6520f Git-repo: https://github.com/PixartOpen/pixart-sensor-db810-linux-driver [shjain@codeaurora.org: removed below listed files from original commit as they are not needed and to resolve trivial merge conflicts: 1. arch/arm/boot/dts/qcom/apq8094-dragonboard.dtsi 2. arch/arm/boot/dts/qcom/msm8994-pinctrl.dtsi 3. arch/arm/boot/dts/qcom/msm8994.dtsi 4. drivers/input/misc/Makefile 5. drivers/input/misc/ots_pat9125/Makefile Remove the unused pieces of algorithm from the reference driver of Pixart PAT9125 Rotating side button.] Signed-off-by: Shantanu Jain <shjain@codeaurora.org>