zforce_ts.txt 756 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
* 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

12 13 14
Optional properties:
- vdd-supply: Regulator controlling the controller supply

15 16 17 18 19 20 21 22 23
Example:

	i2c@00000000 {
		/* ... */

		zforce_ts@50 {
			compatible = "neonode,zforce";
			reg = <0x50>;
			interrupts = <2 0>;
24
			vdd-supply = <&reg_zforce_vdd>;
25 26 27 28 29 30 31 32 33 34

			gpios = <&gpio5 6 0>, /* INT */
				<&gpio5 9 0>; /* RST */

			x-size = <800>;
			y-size = <600>;
		};

		/* ... */
	};