mbox series

[v4,0/5] Input: msg2638: Add support for msg2138 and key

Message ID 20221110171952.34207-1-vincent.knecht@mailoo.org (mailing list archive)
Headers show
Series Input: msg2638: Add support for msg2138 and key | expand

Message

Vincent Knecht Nov. 10, 2022, 5:19 p.m. UTC
This is a resend of [1] with no changes, like v3 which didn't mae it to
mailing lists for some reason.

This series:
- moves max fingers number and irqhandler settings in a struct
- adds support for msg2138 touchscreen
- adds support for buttons, which were only seen with msg2138 as of yet

Big thanks to Stephan Gerhold <stephan@gerhold.net> for the help with
deciphering the downstream driver [2] and writing clean and working code.

[1] https://lore.kernel.org/linux-input/20220124212611.752603-1-vincent.knecht@mailoo.org/
[2] https://github.com/LineageOS/android_kernel_huawei_msm8916/blob/2f24fa58086a969687434b40f237cb589a1f324f/drivers/input/touchscreen/mstar/msg2138_qc.c

Vincent Knecht (5):
  Input: msg2638 - Set max finger number and irqhandler from driver data
  dt-bindings: input: touchscreen: msg2638: Document msg2138 support
  Input: msg2638 - Add support for msg2138
  dt-bindings: input: touchscreen: msg2638: Document keys support
  Input: msg2638 - Add support for msg2138 key events

 .../input/touchscreen/mstar,msg2638.yaml      |   8 +-
 drivers/input/touchscreen/msg2638.c           | 182 ++++++++++++++++--
 2 files changed, 175 insertions(+), 15 deletions(-)