From f8d06c8567777f5a44f4e8ada31d4fe4f438a13a Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 2 Mar 2016 11:43:36 +0530 Subject: input: touchscreen: fusion: add device tree integration Add device tree integration and add the device to the dtb. Signed-off-by: Max Krummenacher [Add devicetree binding documentation] Signed-off-by: Bhuvanchandra DV --- .../bindings/input/touchscreen/fusion_F0710A.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/fusion_F0710A.txt (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/input/touchscreen/fusion_F0710A.txt b/Documentation/devicetree/bindings/input/touchscreen/fusion_F0710A.txt new file mode 100644 index 000000000000..6fe730d03e2c --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/fusion_F0710A.txt @@ -0,0 +1,23 @@ +* TouchRevolution Fusion 7" and 10" multi-touch controller + +Required properties: +- compatible: must be "touchrevolution,fusion-f0710a" +- reg: I2C address of the chip +- gpios: The interrupt and reset GPIO's.(see GPIO binding[1] for more details) + +[1]: Documentation/devicetree/bindings/gpio/gpio.txt + +Example: + &i2c1 { + status = "okay"; + + pcap@10 { + compatible = "touchrevolution,fusion-f0710a"; + reg = <0x10>; + gpios = <&gpio6 10 0 + &gpio6 9 0 + >; + }; + + /* ... */ + }; -- cgit v1.2.3