[PATCH v6 0/2] Input: msg2638: Add support for msg2138 and key events
From: Vincent Knecht
Date: Wed Nov 16 2022 - 16:17:06 EST
This series is the continuation of v4 [1] from which the first 3 patches
have been merged already.
v6:
- use property_* functions instead of fwnode_* (Dmitry)
- use %zd format instead of %ld to print ARRAY_SIZE() (Dmitry)
v5:
- keep only the non-merged patch
- remove double-negation in call to input_report_key() (Dmitry)
- change keycodes retrieval to use device property API (Dmitry)
- due to previous point, add a check and a warning if more than
the supported number of keys are found.
Should that happen, ignore the keys in excess.
Vincent Knecht (2):
dt-bindings: input: touchscreen: msg2638: Document keys support
Input: msg2638 - Add support for msg2138 key events
.../input/touchscreen/mstar,msg2638.yaml | 4 ++
drivers/input/touchscreen/msg2638.c | 57 +++++++++++++++++--
2 files changed, 57 insertions(+), 4 deletions(-)
--
2.38.1