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
41 description: Use any event on keypad as wakeup event.
50 unevaluatedProperties: false
54 // Example with interrupts
55 #include "dt-bindings/input/input.h"
61 compatible = "fsl,mpr121-touchkey";
63 interrupt-parent = <&gpio1>;
66 vdd-supply = <&ldo4_reg>;
67 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>,
68 <KEY_4>, <KEY_5>, <KEY_6>, <KEY_7>,
69 <KEY_8>, <KEY_9>, <KEY_A>, <KEY_B>;
74 // Example with polling
75 #include "dt-bindings/input/input.h"
81 compatible = "fsl,mpr121-touchkey";
85 vdd-supply = <&ldo4_reg>;
86 linux,keycodes = <KEY_0>, <KEY_1>, <KEY_2>, <KEY_3>,
87 <KEY_4>, <KEY_5>, <KEY_6>, <KEY_7>,
88 <KEY_8>, <KEY_9>, <KEY_A>, <KEY_B>;