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 bindings
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
55 additionalProperties: false
66 #include <dt-bindings/interrupt-controller/irq.h>
71 compatible = "melfas,mms114";
73 interrupt-parent = <&gpio>;
74 interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
75 avdd-supply = <&ldo1_reg>;
76 vdd-supply = <&ldo2_reg>;
77 touchscreen-size-x = <720>;
78 touchscreen-size-y = <1280>;
79 touchscreen-fuzz-x = <10>;
80 touchscreen-fuzz-y = <10>;
81 touchscreen-fuzz-pressure = <10>;
82 touchscreen-inverted-x;
83 touchscreen-inverted-y;