]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit083315626d664b30a8d9056252dfe5e202565e93
tree910039d32687a472d39a48d0e227077240d01181
parent0890454d5891daae9218bd694004973ac94788cd
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]