Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Bindings for EETI touchscreen controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be "eeti,exc3000-i2c" |
| 5 | - reg: I2C address of the chip. Should be set to <0xa> |
| 6 | - interrupts: interrupt to which the chip is connected |
| 7 | |
| 8 | Optional properties: |
| 9 | - attn-gpios: A handle to a GPIO to check whether interrupt is still |
| 10 | latched. This is necessary for platforms that lack |
| 11 | support for level-triggered IRQs. |
| 12 | |
| 13 | The following optional properties described in touchscreen.txt are |
| 14 | also supported: |
| 15 | |
| 16 | - touchscreen-inverted-x |
| 17 | - touchscreen-inverted-y |
| 18 | - touchscreen-swapped-x-y |
| 19 | |
| 20 | Example: |
| 21 | |
| 22 | i2c-master { |
| 23 | touchscreen@a { |
| 24 | compatible = "eeti,exc3000-i2c"; |
| 25 | reg = <0xa>; |
| 26 | interrupt-parent = <&gpio>; |
| 27 | interrupts = <123 IRQ_TYPE_EDGE_RISING>; |
| 28 | attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; |
| 29 | }; |
| 30 | }; |