]> 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)
commitd2f560973aa5ae9f52fefe2ca7af0830a5103c1b
tree910039d32687a472d39a48d0e227077240d01181
parentc0f16f14fb80683b8e919d3741eaf88fca6cfbd2
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]