dt-bindings: bindings for zforce touchscreens

A patch from »Input: add dt support to zforce driver« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Thu, 9 Jan 2014 20:22:58 +0100

Commit-Message

Binding documentation for Neonode zForce infrared touchscreens. Signed-off-by: Heiko Stuebner <heiko.stuebner@...>

Patch-Comment

.../bindings/input/touchscreen/zforce_ts.txt | 30 ++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt

Statistics

  • 31 lines added
  • 0 lines removed

Changes

------ Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt -------
new file mode 100644
index 0000000..2f25cd2
@@ -0,0 +1,30 @@
+* Neonode infrared touchscreen controller
+
+Required properties:
+- compatible: must be "neonode,zforce"
+- reg: I2C address of the chip
+- interrupts: interrupt to which the chip is connected
+- gpios: gpios the chip is connected to
+ first one is the interrupt gpio and second one the reset gpio
+- x-size: horizontal resolution of touchscreen
+- y-size: vertical resolution of touchscreen
+
+Example:
+
+ i2c@00000000 {
+ /* ... */
+
+ zforce_ts@50 {
+ compatible = "neonode,zforce";
+ reg = <0x50>;
+ interrupts = <2 0>;
+
+ gpios = <&gpio5 6 0>, /* INT */
+ <&gpio5 9 0>; /* RST */
+
+ x-size = <800>;
+ y-size = <600>;
+ };
+
+ /* ... */
+ };
------------ Documentation/devicetree/bindings/vendor-prefixes.txt -------------
index b458760..e0b15b4 100644
@@ -53,6 +53,7 @@ maxim Maxim Integrated Products
microchip Microchip Technology Inc.
mosaixtech Mosaix Technologies, Inc.
national National Semiconductor
+neonode Neonode Inc.
nintendo Nintendo
nvidia NVIDIA
nxp NXP Semiconductors
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...