Skip to content

Commit fe315d6

Browse files
iangehcdtor
authored andcommitted
dt-bindings: crypto: fsl,sec-v4.0-mon: Add "power-off-time-sec"
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 353bdd7 commit fe315d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ properties:
8383
by SNVS ONOFF, the driver can report the status of POWER key and wakeup
8484
system if pressed after system suspend.
8585

86+
$ref: /schemas/input/input.yaml
87+
8688
properties:
8789
compatible:
8890
const: fsl,sec-v4.0-pwrkey
@@ -111,6 +113,9 @@ properties:
111113
maxItems: 1
112114
default: 116
113115

116+
power-off-time-sec:
117+
enum: [0, 5, 10, 15]
118+
114119
required:
115120
- compatible
116121
- interrupts

0 commit comments

Comments
 (0)