]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: input: Increase maximum keycode value to 0x2ff
authorRob Herring <robh@kernel.org>
Wed, 8 Jun 2022 21:12:03 +0000 (15:12 -0600)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 8 Jul 2022 22:17:55 +0000 (15:17 -0700)
The maximum keycode value for Linux is 0x2ff, not 0xff. There's already
users and examples with values greater than 0xff, but the schema is not
yet applied in those cases.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/20220608211207.2058487-2-robh@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/input.yaml

index d41d8743aad4ed2a0f5cf66dce97ef2b569a09c5..43d2f299c332feae880ac2db3575487cd0e1b00f 100644 (file)
@@ -21,7 +21,7 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     items:
       minimum: 0
-      maximum: 0xff
+      maximum: 0x2ff
 
   poll-interval:
     description: Poll interval time in milliseconds.