phone-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Input: cypress-sf - Add support for Cypress Streetfighter touchkeys
@ 2021-09-01 16:52 Yassine Oudjana
  2021-09-01 16:52 ` [PATCH v3 1/2] Input: cypress-sf - Add Cypress StreetFighter touchkey driver Yassine Oudjana
  2021-09-01 16:53 ` [PATCH v3 2/2] dt-bindings: input: Add binding for cypress-sf Yassine Oudjana
  0 siblings, 2 replies; 5+ messages in thread
From: Yassine Oudjana @ 2021-09-01 16:52 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring
  Cc: Yassine Oudjana, linux-input, devicetree, linux-kernel,
	phone-devel, ~postmarketos/upstreaming

This patchset adds support for Cypress StreetFighter touchkeys.

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

Changes since v2:
 - Code style fixes.
 - Added copyright statement.
Changes since v1:
 - 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           | 223 ++++++++++++++++++
 4 files changed, 295 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/cypress-sf.yaml
 create mode 100644 drivers/input/keyboard/cypress-sf.c

-- 
2.33.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-07  9:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 16:52 [PATCH v3 0/2] Input: cypress-sf - Add support for Cypress Streetfighter touchkeys Yassine Oudjana
2021-09-01 16:52 ` [PATCH v3 1/2] Input: cypress-sf - Add Cypress StreetFighter touchkey driver Yassine Oudjana
2021-09-06  6:31   ` Dmitry Torokhov
2021-09-07  9:01     ` Yassine Oudjana
2021-09-01 16:53 ` [PATCH v3 2/2] dt-bindings: input: Add binding for cypress-sf 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).