Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* 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- firmware-name : File basename (string) for board specific firmware
17- touchscreen-inverted-x : See touchscreen.txt
18- touchscreen-inverted-y : See touchscreen.txt
19- touchscreen-swapped-x-y : See touchscreen.txt
20- silead,max-fingers : maximum number of fingers the touchscreen can detect
21- vddio-supply : regulator phandle for controller VDDIO
22- avdd-supply : regulator phandle for controller AVDD
23
24Example:
25
26i2c@00000000 {
27 gsl1680: touchscreen@40 {
28 compatible = "silead,gsl1680";
29 reg = <0x40>;
30 interrupt-parent = <&pio>;
31 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
32 power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
33 touchscreen-size-x = <480>;
34 touchscreen-size-y = <800>;
35 touchscreen-inverted-x;
36 touchscreen-swapped-x-y;
37 silead,max-fingers = <5>;
38 };
39};