1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/cirrus,ep9307-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cirrus ep93xx keypad
10 - Alexander Sverdlin <alexander.sverdlin@gmail.com>
13 - $ref: /schemas/input/matrix-keymap.yaml#
16 The KPP is designed to interface with a keypad matrix with 2-point contact
17 or 3-point contact keys. The KPP is designed to simplify the software task
18 of scanning a keypad matrix. The KPP is capable of detecting, debouncing,
19 and decoding one or multiple keys pressed simultaneously on a keypad.
24 - const: cirrus,ep9307-keypad
27 - cirrus,ep9312-keypad
28 - cirrus,ep9315-keypad
29 - const: cirrus,ep9307-keypad
42 Time in microseconds that key must be pressed or
43 released for state change interrupt to trigger.
46 description: row/column counter pre-scaler load value
47 $ref: /schemas/types.yaml#/definitions/uint16
57 unevaluatedProperties: false
61 #include <dt-bindings/input/input.h>
62 #include <dt-bindings/clock/cirrus,ep9301-syscon.h>
64 compatible = "cirrus,ep9307-keypad";
65 reg = <0x800f0000 0x0c>;
66 interrupt-parent = <&vic0>;
68 clocks = <&eclk EP93XX_CLK_KEYPAD>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&keypad_default_pins>;
71 linux,keymap = <KEY_UP>,