]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: input: touchscreen: imagis: add missing minItems
authorDuje Mihanović <duje@dujemihanovic.xyz>
Sun, 24 Aug 2025 16:12:05 +0000 (18:12 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Sep 2025 14:31:49 +0000 (07:31 -0700)
commit0fec357ad073e555e7553dbc0d32278b0aaa2179
treed54664adafb37502b42edb6f81e607063cc92b8c
parent9a12e2fb3f517d5bd72efa565a8e591e6fff311c
dt-bindings: input: touchscreen: imagis: add missing minItems

The binding currently expects exactly 5 keycodes, which matches the
chip's theoretical maximum but probably not the number of touch keys on
any phone using the IST3032C. Add a minItems value of 2 to prevent
dt-validate complaints.

Also add another example to make sure the linux,keycodes property is
checked.

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250824-imagis-minitems-v1-1-cea9db55e87f@dujemihanovic.xyz
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml