aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt
blob: f40f21c642b96f90d9447d5984a0119d6e58cba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
* AUO in-cell touchscreen controller using Pixcir sensors

Required properties:
- compatible: must be "auo,auo_pixcir_ts"
- 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 {
		/* ... */

		auo_pixcir_ts@5c {
			compatible = "auo,auo_pixcir_ts";
			reg = <0x5c>;
			interrupts = <2 0>;

			gpios = <&gpf 2 0 2>, /* INT */
				<&gpf 5 1 0>; /* RST */

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

		/* ... */
	};