14c076eb0SMathieu J. PoirierInput: sysrq reset sequence 24c076eb0SMathieu J. Poirier 34c076eb0SMathieu J. PoirierA simple binding to represent a set of keys as described in 44c076eb0SMathieu J. Poirierinclude/uapi/linux/input.h. This is to communicate a sequence of keys to the 54c076eb0SMathieu J. Poiriersysrq driver. Upon holding the keys for a specified amount of time (if 64c076eb0SMathieu J. Poirierspecified) the system is sync'ed and reset. 74c076eb0SMathieu J. Poirier 84c076eb0SMathieu J. PoirierKey sequences are global to the system but all the keys in a set must be coming 94c076eb0SMathieu J. Poirierfrom the same input device. 104c076eb0SMathieu J. Poirier 114c076eb0SMathieu J. PoirierThe /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 124c076eb0SMathieu J. Poiriera set of keys. 134c076eb0SMathieu J. Poirier 144c076eb0SMathieu J. PoirierRequired property: 15*6c4b8828SDing Taokeyset: array of Linux keycodes, one keycode per cell. 164c076eb0SMathieu J. Poirier 174c076eb0SMathieu J. PoirierOptional property: 184c076eb0SMathieu J. Poiriertimeout-ms: duration keys must be pressed together in milliseconds before 194c076eb0SMathieu J. Poiriergenerating a sysrq. If omitted the system is rebooted immediately when a valid 204c076eb0SMathieu J. Poiriersequence has been recognized. 214c076eb0SMathieu J. Poirier 224c076eb0SMathieu J. PoirierExample: 234c076eb0SMathieu J. Poirier 244c076eb0SMathieu J. Poirier chosen { 254c076eb0SMathieu J. Poirier linux,sysrq-reset-seq { 264c076eb0SMathieu J. Poirier keyset = <0x03 274c076eb0SMathieu J. Poirier 0x04 284c076eb0SMathieu J. Poirier 0x0a>; 294c076eb0SMathieu J. Poirier timeout-ms = <3000>; 304c076eb0SMathieu J. Poirier }; 314c076eb0SMathieu J. Poirier }; 324c076eb0SMathieu J. Poirier 334c076eb0SMathieu J. PoirierWould represent KEY_2, KEY_3 and KEY_9. 34