* [PATCH v2 0/2] Input: cypress-sf - Add support for Cypress Streetfighter touchkeys
@ 2021-05-04 19:20 Yassine Oudjana
0 siblings, 0 replies; only message in thread
From: Yassine Oudjana @ 2021-05-04 19:20 UTC (permalink / raw)
To: linux-input, devicetree, dmitry.torokhov, robh+dt
Cc: Yassine Oudjana, linux-kernel, phone-devel, ~postmarketos/upstreaming
This patchset adds support for the Cypress StreetFighter touchkey device.
This driver is based on the driver from the vendor kernel for the Xiaomi
Mi Note 2[1][2], which is also the device where this was tested.
[1] https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/scorpio-m-oss/drivers/input/touchscreen/cyttsp_button.c
[2] https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/scorpio-m-oss/arch/arm/boot/dts/qcom/scorpio-msm8996-mtp.dtsi#L300-L322
Changes in v2:
- Changed version variables in probe to int to allow storing error codes.
- Fixed some issues in dt binding.
Yassine Oudjana (2):
Input: cypress-sf - Add Cypress StreetFighter touchkey driver
dt-bindings: input: Add binding for cypress-sf
.../devicetree/bindings/input/cypress-sf.yaml | 61 +++++
drivers/input/keyboard/Kconfig | 10 +
drivers/input/keyboard/Makefile | 1 +
drivers/input/keyboard/cypress-sf.c | 219 ++++++++++++++++++
4 files changed, 291 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/cypress-sf.yaml
create mode 100644 drivers/input/keyboard/cypress-sf.c
--
2.31.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-04 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 19:20 [PATCH v2 0/2] Input: cypress-sf - Add support for Cypress Streetfighter touchkeys Yassine Oudjana
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).