Commit | Line | Data |
---|---|---|
a4054596 RQ |
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 | ||
40929167 | 11 | Optional properties: |
bcf5b3de SV |
12 | - reset-gpios: GPIO connected to the RESET line of the chip |
13 | - enable-gpios: GPIO connected to the ENABLE line of the chip | |
14 | - wake-gpios: GPIO connected to the WAKE line of the chip | |
40929167 | 15 | |
a4054596 RQ |
16 | Example: |
17 | ||
18 | i2c@00000000 { | |
19 | /* ... */ | |
20 | ||
21 | pixcir_ts@5c { | |
22 | compatible = "pixcir,pixcir_ts"; | |
23 | reg = <0x5c>; | |
24 | interrupts = <2 0>; | |
25 | attb-gpio = <&gpf 2 0 2>; | |
26 | touchscreen-size-x = <800>; | |
27 | touchscreen-size-y = <600>; | |
28 | }; | |
29 | ||
30 | /* ... */ | |
31 | }; |