1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/fsl,mpr121-touchkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale MPR121 capacitive touch sensor controller
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 The MPR121 supports up to 12 completely independent electrodes/capacitance
14 sensing inputs in which 8 are multifunctional for LED driving and GPIO.
15 https://www.nxp.com/docs/en/data-sheet/MPR121.pdf
21 - required: [ interrupts ]
22 - required: [ poll-interval ]
26 const: fsl,mpr121-touchkey
42 description: Use any event on keypad as wakeup event.
53 // Example with interrupts
54 #include "dt-bindings/input/input.h"
60 compatible = "fsl,mpr121-touchkey";
62 interrupt-parent = <&gpio1>;
65 vdd-supply = <&ldo4_reg>;
66 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>,
67 <KEY_4>, <KEY_5>, <KEY_6>, <KEY_7>,
68 <KEY_8>, <KEY_9>, <KEY_A>, <KEY_B>;
73 // Example with polling
74 #include "dt-bindings/input/input.h"
80 compatible = "fsl,mpr121-touchkey";
84 vdd-supply = <&ldo4_reg>;
85 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>,
86 <KEY_4>, <KEY_5>, <KEY_6>, <KEY_7>,
87 <KEY_8>, <KEY_9>, <KEY_A>, <KEY_B>;