Merge tag 'backlight-next-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / touchscreen / raspberrypi,firmware-ts.txt
1 Raspberry Pi firmware based 7" touchscreen
2 =====================================
3
4 Required properties:
5  - compatible: "raspberrypi,firmware-ts"
6
7 Optional properties:
8  - firmware: Reference to RPi's firmware device node
9  - touchscreen-size-x: See touchscreen.txt
10  - touchscreen-size-y: See touchscreen.txt
11  - touchscreen-inverted-x: See touchscreen.txt
12  - touchscreen-inverted-y: See touchscreen.txt
13  - touchscreen-swapped-x-y: See touchscreen.txt
14
15 Example:
16
17 firmware: firmware-rpi {
18         compatible = "raspberrypi,bcm2835-firmware";
19         mboxes = <&mailbox>;
20
21         ts: touchscreen {
22                 compatible = "raspberrypi,firmware-ts";
23                 touchscreen-size-x = <800>;
24                 touchscreen-size-y = <480>;
25         };
26 };