1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/atmel,maxtouch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Atmel maXTouch touchscreen/touchpad
10 - Nick Dyer <nick@shmanahar.org>
11 - Linus Walleij <linus.walleij@linaro.org>
14 Atmel maXTouch touchscreen or touchpads such as the mXT244
29 Optional regulator for the AVDD analog voltage.
33 Optional regulator for the VDD digital voltage.
38 Optional GPIO specifier for the touchscreen's reset pin
39 (active low). The line must be flagged with
43 $ref: /schemas/types.yaml#/definitions/uint32-array
45 When enabled, the SPT_GPIOPWN_T19 object sends messages
46 on GPIO bit changes. An array of up to 8 entries can be provided
47 indicating the Linux keycode mapped to each bit of the status byte,
48 starting at the LSB. Linux keycodes are defined in
49 <dt-bindings/input/input.h>.
51 Note: the numbering of the GPIOs and the bit they start at varies
52 between maXTouch devices. You must either refer to the documentation,
53 or experiment to determine which bit corresponds to which input. Use
54 KEY_RESERVED for unused padding values.
61 additionalProperties: false
65 #include <dt-bindings/interrupt-controller/irq.h>
66 #include <dt-bindings/gpio/gpio.h>
71 compatible = "atmel,maxtouch";
73 interrupt-parent = <&gpio>;
74 interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
75 reset-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
76 vdda-supply = <&ab8500_ldo_aux2_reg>;
77 vdd-supply = <&ab8500_ldo_aux5_reg>;