From 33fdc89d4cbd74aa54c28dc61d62972ab164e64d Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 14 Jan 2019 09:09:57 +0100 Subject: dts: update to v5.0-rc1 Signed-off-by: Sascha Hauer --- .../input/touchscreen/raspberrypi,firmware-ts.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dts/Bindings/input/touchscreen/raspberrypi,firmware-ts.txt (limited to 'dts/Bindings/input') 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>; + }; +}; -- cgit v1.2.1