1112e0d794e172c43bb09ff866742d0a7fa314b5
[deliverable/linux.git] / Documentation / devicetree / bindings / input / touchscreen / silead_gsl1680.txt
1 * GSL 1680 touchscreen controller
2
3 Required 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
15 Optional 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
21 Example:
22
23 i2c@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 };
This page took 0.030837 seconds and 4 git commands to generate.