Input: cypress-sf - add Cypress StreetFighter touchkey driver
authorYassine Oudjana <y.oudjana@protonmail.com>
Fri, 10 Sep 2021 05:12:29 +0000 (22:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Sep 2021 05:26:23 +0000 (22:26 -0700)
commitfcc28e0bfcfd2d98f2d096a185f0263759661c94
tree910039d32687a472d39a48d0e227077240d01181
parent845ef3a7ce5773638a8c5e9a6e7be6538c107ae1
Input: cypress-sf - add Cypress StreetFighter touchkey driver

This adds support for Cypress StreetFighter touchkey controllers such
as sf3155. This driver supports managing regulators and generating
input events.

Due to lack of documentation, this driver is entirely based on
information gathered from a driver written for an old Android kernel
fork[1][2].

[1] https://github.com/LineageOS/android_kernel_xiaomi_msm8996/blob/lineage-18.1/drivers/input/touchscreen/cyttsp_button.c
[2] https://github.com/LineageOS/android_kernel_xiaomi_msm8996/blob/lineage-18.1/arch/arm/boot/dts/qcom/a4-msm8996-mtp.dtsi#L291-L314

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Link: https://lore.kernel.org/r/20210907174341.422013-2-y.oudjana@protonmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
MAINTAINERS
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Makefile
drivers/input/keyboard/cypress-sf.c [new file with mode: 0644]