blob: 1112e0d794e172c43bb09ff866742d0a7fa314b5 [file] [log] [blame]
Robert Dolca31977042016-07-28 14:28:46 -07001* GSL 1680 touchscreen controller
2
3Required properties:
4- compatible : "silead,gsl1680"
5- reg : I2C slave address of the chip (0x40)
6- interrupt-parent : a phandle pointing to the interrupt controller
7 serving the interrupt for this chip
8- interrupts : interrupt specification for the gsl1680 interrupt
9- power-gpios : Specification for the pin connected to the gsl1680's
10 shutdown input. This needs to be driven high to take the
11 gsl1680 out of its low power state
12- touchscreen-size-x : See touchscreen.txt
13- touchscreen-size-y : See touchscreen.txt
14
15Optional properties:
16- touchscreen-inverted-x : See touchscreen.txt
17- touchscreen-inverted-y : See touchscreen.txt
18- touchscreen-swapped-x-y : See touchscreen.txt
19- silead,max-fingers : maximum number of fingers the touchscreen can detect
20
21Example:
22
23i2c@00000000 {
24 gsl1680: touchscreen@40 {
25 compatible = "silead,gsl1680";
26 reg = <0x40>;
27 interrupt-parent = <&pio>;
28 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
29 power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
30 touchscreen-size-x = <480>;
31 touchscreen-size-y = <800>;
32 touchscreen-inverted-x;
33 touchscreen-swapped-x-y;
34 silead,max-fingers = <5>;
35 };
36};