0001 Input: sysrq reset sequence
0002
0003 A simple binding to represent a set of keys as described in
0004 include/uapi/linux/input.h. This is to communicate a sequence of keys to the
0005 sysrq driver. Upon holding the keys for a specified amount of time (if
0006 specified) the system is sync'ed and reset.
0007
0008 Key sequences are global to the system but all the keys in a set must be coming
0009 from the same input device.
0010
0011 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define
0012 a set of keys.
0013
0014 Required property:
0015 keyset: array of Linux keycodes, one keycode per cell.
0016
0017 Optional property:
0018 timeout-ms: duration keys must be pressed together in milliseconds before
0019 generating a sysrq. If omitted the system is rebooted immediately when a valid
0020 sequence has been recognized.
0021
0022 Example:
0023
0024 chosen {
0025 linux,sysrq-reset-seq {
0026 keyset = <0x03
0027 0x04
0028 0x0a>;
0029 timeout-ms = <3000>;
0030 };
0031 };
0032
0033 Would represent KEY_2, KEY_3 and KEY_9.