aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-07-28 13:05:39 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-28 13:26:18 -0400
commita4054596e93048d50502f6c31c853bfeba5acb8e (patch)
treeda22e91a4188146d8d506143c8a46b5140445cbb /Documentation
parent36874c7e219fa080141d49fd7bb9bbbdad0507c5 (diff)
Input: pixcir_i2c_ts - add device tree support
Provide device tree support and binding information. Also provide support for a new chip "pixcir_tangoc". Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt26
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
2 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt b/Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt
new file mode 100644
index 000000000000..6e551090f465
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt
@@ -0,0 +1,26 @@
1* Pixcir I2C touchscreen controllers
2
3Required properties:
4- compatible: must be "pixcir,pixcir_ts" or "pixcir,pixcir_tangoc"
5- reg: I2C address of the chip
6- interrupts: interrupt to which the chip is connected
7- attb-gpio: GPIO connected to the ATTB line of the chip
8- touchscreen-size-x: horizontal resolution of touchscreen (in pixels)
9- touchscreen-size-y: vertical resolution of touchscreen (in pixels)
10
11Example:
12
13 i2c@00000000 {
14 /* ... */
15
16 pixcir_ts@5c {
17 compatible = "pixcir,pixcir_ts";
18 reg = <0x5c>;
19 interrupts = <2 0>;
20 attb-gpio = <&gpf 2 0 2>;
21 touchscreen-size-x = <800>;
22 touchscreen-size-y = <600>;
23 };
24
25 /* ... */
26 };
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 46a311e728a8..91bd2287f0c7 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -99,6 +99,7 @@ panasonic Panasonic Corporation
99phytec PHYTEC Messtechnik GmbH 99phytec PHYTEC Messtechnik GmbH
100picochip Picochip Ltd 100picochip Picochip Ltd
101plathome Plat'Home Co., Ltd. 101plathome Plat'Home Co., Ltd.
102pixcir PIXCIR MICROELECTRONICS Co., Ltd
102powervr PowerVR (deprecated, use img) 103powervr PowerVR (deprecated, use img)
103qca Qualcomm Atheros, Inc. 104qca Qualcomm Atheros, Inc.
104qcom Qualcomm Technologies, Inc 105qcom Qualcomm Technologies, Inc