| 1 |
* AUO in-cell touchscreen controller using Pixcir sensors |
| 2 |
|
| 3 |
Required properties: |
| 4 |
- compatible: must be "auo,auo_pixcir_ts" |
| 5 |
- reg: I2C address of the chip |
| 6 |
- interrupts: interrupt to which the chip is connected |
| 7 |
- gpios: gpios the chip is connected to |
| 8 |
first one is the interrupt gpio and second one the reset gpio |
| 9 |
- x-size: horizontal resolution of touchscreen |
| 10 |
- y-size: vertical resolution of touchscreen |
| 11 |
|
| 12 |
Example: |
| 13 |
|
| 14 |
i2c@00000000 { |
| 15 |
/* ... */ |
| 16 |
|
| 17 |
auo_pixcir_ts@5c { |
| 18 |
compatible = "auo,auo_pixcir_ts"; |
| 19 |
reg = <0x5c>; |
| 20 |
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; |
| 21 |
|
| 22 |
gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */ |
| 23 |
<&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */ |
| 24 |
|
| 25 |
x-size = <800>; |
| 26 |
y-size = <600>; |
| 27 |
}; |
| 28 |
|
| 29 |
/* ... */ |
| 30 |
}; |