]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt
Merge remote-tracking branches 'asoc/topic/sgtl5000', 'asoc/topic/simple', 'asoc...
[mirror_ubuntu-bionic-kernel.git] / Documentation / devicetree / bindings / input / touchscreen / silead_gsl1680.txt
CommitLineData
3197704c
RD
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:
43ba5883 16- firmware-name : File basename (string) for board specific firmware
3197704c
RD
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
22Example:
23
24i2c@00000000 {
25 gsl1680: touchscreen@40 {
26 compatible = "silead,gsl1680";
27 reg = <0x40>;
28 interrupt-parent = <&pio>;
29 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
30 power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
31 touchscreen-size-x = <480>;
32 touchscreen-size-y = <800>;
33 touchscreen-inverted-x;
34 touchscreen-swapped-x-y;
35 silead,max-fingers = <5>;
36 };
37};