]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt
Input: pixcir_i2c_ts - add device tree support
[mirror_ubuntu-artful-kernel.git] / Documentation / devicetree / bindings / input / touchscreen / pixcir_i2c_ts.txt
1 * Pixcir I2C touchscreen controllers
2
3 Required 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
11 Example:
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 };