]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: crypto: fsl,sec-v4.0-mon: Add "power-off-time-sec"
authorIan Ray <ian.ray@gehealthcare.com>
Thu, 1 May 2025 03:51:07 +0000 (20:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 1 May 2025 04:03:12 +0000 (21:03 -0700)
Update to reference the input.yaml schema, thus enabling the use of the
common 'power-off-time' property.

The hardware supports one of four fixed values, and the new property is
optional.

Signed-off-by: Ian Ray <ian.ray@gehealthcare.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250315093455.1100-2-ian.ray@gehealthcare.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml

index e879bc0be8e221266bf8a5fb46f66fad4512b791..9f8e6689cd94787766cd5bd25461719e741d5b3b 100644 (file)
@@ -83,6 +83,8 @@ properties:
       by SNVS ONOFF, the driver can report the status of POWER key and wakeup
       system if pressed after system suspend.
 
+    $ref: /schemas/input/input.yaml
+
     properties:
       compatible:
         const: fsl,sec-v4.0-pwrkey
@@ -111,6 +113,9 @@ properties:
         maxItems: 1
         default: 116
 
+      power-off-time-sec:
+        enum: [0, 5, 10, 15]
+
     required:
       - compatible
       - interrupts