mbox series

[RFC,0/4] Support for MELFAS MIP4 touchkey devices

Message ID 20250503-mip4-touchkey-v1-0-b483cda29a5b@disroot.org
Headers show
Series Support for MELFAS MIP4 touchkey devices | expand

Message

Kaustabh Chakraborty May 3, 2025, 9:08 a.m. UTC
MIP4 is a protocol developed and used by MELFAS in its touchscreen and
touchkey devices. The MIP4 touchscreen driver acknowledges the
touchscreen capabilities, but touchkeys are left unimplemented.

Apart from touchscreen + touchkey devices, the protocol is also used by
devices which are, functionally, touchkey devices. Thus, the driver
should also be compatible with those devices. This series aims to
introduce such required changes.

RFC: How should the compatible string be handled? The string defined in
dtschema is 'melfas,mip4_ts', which implies that it's a MIP4 touchscreen
by MELFAS.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
---
Kaustabh Chakraborty (4):
      dt-bindings: input: melfas-mip4: document linux,keycodes property
      Input: melfas-mip4 - add support for touchkey input events
      Input: melfas-mip4 - initialize touch events only if the device is a touchscreen
      Input: melfas-mip4 - add support for event formats 4 and 9

 .../bindings/input/touchscreen/melfas_mip4.txt     |  2 +
 drivers/input/touchscreen/melfas_mip4.c            | 98 ++++++++++++++++------
 2 files changed, 74 insertions(+), 26 deletions(-)
---
base-commit: 3e039dcc9c1320c0d33ddd51c372dcc91d3ea3c7
change-id: 20250501-mip4-touchkey-66a113226bce

Best regards,