1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/touchscreen/melfas,mms114.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Melfas MMS114 family touchscreen controller
10 - Linus Walleij <linus.walleij@linaro.org>
13 - $ref: touchscreen.yaml#
17 pattern: "^touchscreen(@.*)?$"
29 description: I2C address
32 description: I2C client clock frequency, defined for host
40 description: Analog power supply regulator on AVDD pin
43 description: Digital power supply regulator on VDD pin
45 touchscreen-size-x: true
46 touchscreen-size-y: true
47 touchscreen-fuzz-x: true
48 touchscreen-fuzz-y: true
49 touchscreen-fuzz-pressure: true
50 touchscreen-inverted-x: true
51 touchscreen-inverted-y: true
52 touchscreen-swapped-x-y: true
53 touchscreen-max-pressure: true
56 description: Keycodes for the touch keys
60 additionalProperties: false
71 #include <dt-bindings/interrupt-controller/irq.h>
76 compatible = "melfas,mms114";
78 interrupt-parent = <&gpio>;
79 interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
80 avdd-supply = <&ldo1_reg>;
81 vdd-supply = <&ldo2_reg>;
82 touchscreen-size-x = <720>;
83 touchscreen-size-y = <1280>;
84 touchscreen-fuzz-x = <10>;
85 touchscreen-fuzz-y = <10>;
86 touchscreen-fuzz-pressure = <10>;
87 touchscreen-inverted-x;
88 touchscreen-inverted-y;