Lines Matching +full:device +full:- +full:wake +full:- +full:gpios
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
26 gpios:
39 linux,input-type:
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:
68 wakeup-source:
69 description: Button can wake-up the system.
71 wakeup-event-action:
73 Specifies whether the key should wake the system when asserted, when
74 deasserted, or both. This property is only valid for keys that wake up the
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";
139 gpios = <&gpio1 0 1>;