Support for MELFAS MIP4 touchkey devices
From: | Kaustabh Chakraborty <kauschluss-AT-disroot.org> | |
To: | Sangwon Jee <jeesw-AT-melfas.com>, Dmitry Torokhov <dmitry.torokhov-AT-gmail.com>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Henrik Rydberg <rydberg-AT-bitmath.org> | |
Subject: | [PATCH RFC v2 0/5] Support for MELFAS MIP4 touchkey devices | |
Date: | Fri, 13 Jun 2025 01:11:32 +0530 | |
Message-ID: | <20250613-mip4-touchkey-v2-0-9bbbe14c016d@disroot.org> | |
Cc: | linux-input-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Kaustabh Chakraborty <kauschluss-AT-disroot.org> | |
Archive-link: | Article |
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> --- Changes in v2: - rewrite MIP4 documentation in dtschema (robh) - Link to v1: https://lore.kernel.org/r/20250503-mip4-touchkey-v1-0-b48... --- Kaustabh Chakraborty (5): dt-bindings: input: melfas-mip4: convert to dtschema 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_ts.yaml | 61 ++++++++++++++ .../bindings/input/touchscreen/melfas_mip4.txt | 20 ----- drivers/input/touchscreen/melfas_mip4.c | 98 ++++++++++++++++------ 3 files changed, 133 insertions(+), 46 deletions(-) --- base-commit: 0bb71d301869446810a0b13d3da290bd455d7c78 change-id: 20250501-mip4-touchkey-66a113226bce Best regards, -- Kaustabh Chakraborty <kauschluss@disroot.org>