Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / touchscreen / mms114.txt
1 * MELFAS MMS114/MMS152 touchscreen controller
2
3 Required properties:
4 - compatible: should be one of:
5         - "melfas,mms114"
6         - "melfas,mms152"
7 - reg: I2C address of the chip
8 - interrupts: interrupt to which the chip is connected
9 - touchscreen-size-x: See [1]
10 - touchscreen-size-y: See [1]
11
12 Optional properties:
13 - touchscreen-fuzz-x: See [1]
14 - touchscreen-fuzz-y: See [1]
15 - touchscreen-fuzz-pressure: See [1]
16 - touchscreen-inverted-x: See [1]
17 - touchscreen-inverted-y: See [1]
18 - touchscreen-swapped-x-y: See [1]
19
20 [1]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
21
22 Example:
23
24         i2c@00000000 {
25                 /* ... */
26
27                 touchscreen@48 {
28                         compatible = "melfas,mms114";
29                         reg = <0x48>;
30                         interrupts = <39 0>;
31                         touchscreen-size-x = <720>;
32                         touchscreen-size-y = <1280>;
33                         touchscreen-fuzz-x = <10>;
34                         touchscreen-fuzz-y = <10>;
35                         touchscreen-fuzz-pressure = <10>;
36                         touchscreen-inverted-x;
37                         touchscreen-inverted-y;
38                 };
39
40                 /* ... */
41         };