Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Neonode infrared touchscreen controller
2
3Required properties:
4- compatible: must be "neonode,zforce"
5- reg: I2C address of the chip
6- interrupts: interrupt to which the chip is connected
7- reset-gpios: reset gpio the chip is connected to
8- x-size: horizontal resolution of touchscreen
9- y-size: vertical resolution of touchscreen
10
11Optional properties:
12- irq-gpios : interrupt gpio the chip is connected to
13- vdd-supply: Regulator controlling the controller supply
14
15Example:
16
17 i2c@00000000 {
18 /* ... */
19
20 zforce_ts@50 {
21 compatible = "neonode,zforce";
22 reg = <0x50>;
23 interrupts = <2 0>;
24 vdd-supply = <®_zforce_vdd>;
25
26 reset-gpios = <&gpio5 9 0>; /* RST */
27 irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
28
29 x-size = <800>;
30 y-size = <600>;
31 };
32
33 /* ... */
34 };