Lines Matching +full:gpio +full:- +full:delay
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $id: http://devicetree.org/schemas/input/gpio-matrix-keypad.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: GPIO matrix keypad
11 - Marek Vasut <marek.vasut@gmail.com>
14 GPIO driven matrix keypad is used to interface a SoC with a matrix keypad.
17 keypad can sense a key-press and key-release by means of GPIO lines and
18 report the event using GPIO interrupts to the cpu.
21 - $ref: /schemas/input/matrix-keymap.yaml#
25 const: gpio-matrix-keypad
27 row-gpios:
29 List of GPIOs used as row lines. The gpio specifier for this property
30 depends on the gpio controller to which these row lines are connected.
32 col-gpios:
34 List of GPIOs used as column lines. The gpio specifier for this property
35 depends on the gpio controller to which these column lines are connected.
39 linux,no-autorepeat:
43 gpio-activelow:
46 Force GPIO polarity to active low.
49 debounce-delay-ms:
53 col-scan-delay-us:
55 Delay, measured in microseconds, that is needed
56 before we can scan keypad after activating column gpio.
59 all-cols-on-delay-us:
61 Delay, measured in microseconds, that is needed
65 drive-inactive-cols:
71 wakeup-source: true
74 - compatible
75 - row-gpios
76 - col-gpios
77 - linux,keymap
82 - |
83 matrix-keypad {
84 compatible = "gpio-matrix-keypad";
85 debounce-delay-ms = <5>;
86 col-scan-delay-us = <2>;
88 row-gpios = <&gpio2 25 0
92 col-gpios = <&gpio2 21 0
102 wakeup-source;