OSDN Git Service

dt-bindings: crypto: fsl,sec-v4.0-mon: Add "linux,keycodes" and deprecate "linux...
authorRob Herring <robh@kernel.org>
Tue, 13 Jun 2023 20:12:30 +0000 (14:12 -0600)
committerRob Herring <robh@kernel.org>
Thu, 15 Jun 2023 17:27:08 +0000 (11:27 -0600)
The "linux,keycode" property is non-standard. Add the common property
"linux,keycodes" and mark "linux,keycode" deprecated so that the mistake
is not propagated.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230613201231.2826352-2-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml

index 6052129..e879bc0 100644 (file)
@@ -105,6 +105,11 @@ properties:
       linux,keycode:
         $ref: /schemas/types.yaml#/definitions/uint32
         default: 116
+        deprecated: true
+
+      linux,keycodes:
+        maxItems: 1
+        default: 116
 
     required:
       - compatible