diff options
Diffstat (limited to 'dts/Bindings/input')
-rw-r--r-- | dts/Bindings/input/input-reset.txt | 2 | ||||
-rw-r--r-- | dts/Bindings/input/touchscreen/raspberrypi,firmware-ts.txt | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/dts/Bindings/input/input-reset.txt b/dts/Bindings/input/input-reset.txt index 2bb2626fdb..1ca6cc5ebf 100644 --- a/dts/Bindings/input/input-reset.txt +++ b/dts/Bindings/input/input-reset.txt @@ -12,7 +12,7 @@ The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define a set of keys. Required property: -sysrq-reset-seq: array of Linux keycodes, one keycode per cell. +keyset: array of Linux keycodes, one keycode per cell. Optional property: timeout-ms: duration keys must be pressed together in milliseconds before diff --git a/dts/Bindings/input/touchscreen/raspberrypi,firmware-ts.txt b/dts/Bindings/input/touchscreen/raspberrypi,firmware-ts.txt new file mode 100644 index 0000000000..2a1af240cc --- /dev/null +++ b/dts/Bindings/input/touchscreen/raspberrypi,firmware-ts.txt @@ -0,0 +1,26 @@ +Raspberry Pi firmware based 7" touchscreen +===================================== + +Required properties: + - compatible: "raspberrypi,firmware-ts" + +Optional properties: + - firmware: Reference to RPi's firmware device node + - touchscreen-size-x: See touchscreen.txt + - touchscreen-size-y: See touchscreen.txt + - touchscreen-inverted-x: See touchscreen.txt + - touchscreen-inverted-y: See touchscreen.txt + - touchscreen-swapped-x-y: See touchscreen.txt + +Example: + +firmware: firmware-rpi { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; + + ts: touchscreen { + compatible = "raspberrypi,firmware-ts"; + touchscreen-size-x = <800>; + touchscreen-size-y = <480>; + }; +}; |