Lines Matching +full:irq +full:- +full:can +full:- +full:wake

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#
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
23 poll-interval: true
26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc…
42 linux,input-type:
45 linux,input-value:
47 If linux,input-type is EV_ABS or EV_REL then this
50 when all buttons with linux,input-type == type and
53 value of -1 use:
55 linux,input-value = <0xffffffff>; /* -1 */
59 debounce-interval:
66 wakeup-source:
67 description: Button can wake-up the system.
69 wakeup-event-action:
71 Specifies whether the key should wake the system when asserted, when
72 deasserted, or both. This property is only valid for keys that wake up the
73 system (e.g., when the "wakeup-source" property is also provided).
75 Supported values are defined in linux-event-codes.h:
77 EV_ACT_ANY - both asserted and deasserted
78 EV_ACT_ASSERTED - asserted
79 EV_ACT_DEASSERTED - deasserted
83 linux,can-disable:
86 which can be disabled to suppress events from the button.
90 - linux,code
93 - required:
94 - interrupts
95 - required:
96 - interrupts-extended
97 - required:
98 - gpios
101 wakeup-event-action: [ wakeup-source ]
102 linux,input-value: [ gpios ]
107 - $ref: input.yaml#
108 - if:
111 const: gpio-keys-polled
114 - poll-interval
117 poll-interval: false
122 - |
123 #include <dt-bindings/interrupt-controller/irq.h>
125 gpio-keys {
126 compatible = "gpio-keys";
129 key-up {
135 key-down {