Lines Matching +full:gpio +full:- +full:defaults
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Device-Tree bindings for GPIO attached keys
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
39 linux,input-type:
41 Specify event type this button/key generates. If not specified defaults to
47 linux,input-value:
49 If linux,input-type is EV_ABS or EV_REL then this
52 when all buttons with linux,input-type == type and
55 value of -1 use:
57 linux,input-value = <0xffffffff>; /* -1 */
61 debounce-interval:
63 Debouncing interval time in milliseconds. If not specified defaults to 5.
68 wakeup-source:
69 description: Button can wake-up the system.
71 wakeup-event-action:
75 system (e.g., when the "wakeup-source" property is also provided).
77 Supported values are defined in linux-event-codes.h:
79 EV_ACT_ANY - both asserted and deasserted
80 EV_ACT_ASSERTED - asserted
81 EV_ACT_DEASSERTED - deasserted
85 linux,can-disable:
91 pinctrl-0:
94 pinctrl-names:
98 - linux,code
101 - required:
102 - interrupts
103 - required:
104 - gpios
107 wakeup-event-action: [ wakeup-source ]
108 linux,input-value: [ gpios ]
115 const: gpio-keys-polled
118 poll-interval:
124 - poll-interval
129 - |
130 #include <dt-bindings/interrupt-controller/irq.h>
132 gpio-keys {
133 compatible = "gpio-keys";
137 label = "GPIO Key UP";
143 label = "GPIO Key DOWN";