diff options
Diffstat (limited to 'Documentation/devicetree/bindings/input/touchscreen/mms114.txt')
| -rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/mms114.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/mms114.txt b/Documentation/devicetree/bindings/input/touchscreen/mms114.txt new file mode 100644 index 000000000000..89d4c56c5671 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/mms114.txt | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | * MELFAS MMS114 touchscreen controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: must be "melfas,mms114" | ||
| 5 | - reg: I2C address of the chip | ||
| 6 | - interrupts: interrupt to which the chip is connected | ||
| 7 | - x-size: horizontal resolution of touchscreen | ||
| 8 | - y-size: vertical resolution of touchscreen | ||
| 9 | |||
| 10 | Optional properties: | ||
| 11 | - contact-threshold: | ||
| 12 | - moving-threshold: | ||
| 13 | - x-invert: invert X axis | ||
| 14 | - y-invert: invert Y axis | ||
| 15 | |||
| 16 | Example: | ||
| 17 | |||
| 18 | i2c@00000000 { | ||
| 19 | /* ... */ | ||
| 20 | |||
| 21 | touchscreen@48 { | ||
| 22 | compatible = "melfas,mms114"; | ||
| 23 | reg = <0x48>; | ||
| 24 | interrupts = <39 0>; | ||
| 25 | x-size = <720>; | ||
| 26 | y-size = <1280>; | ||
| 27 | contact-threshold = <10>; | ||
| 28 | moving-threshold = <10>; | ||
| 29 | x-invert; | ||
| 30 | y-invert; | ||
| 31 | }; | ||
| 32 | |||
| 33 | /* ... */ | ||
| 34 | }; | ||
