Lines Matching +full:power +full:- +full:off +full:- +full:time +full:- +full:sec
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen Zhong <chen.zhong@mediatek.com>
13 - $ref: input.yaml#
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
28 - mediatek,mt6331-keys
29 - mediatek,mt6358-keys
30 - mediatek,mt6397-keys
32 power-off-time-sec: true
34 mediatek,long-press-mode:
36 Key long-press force shutdown setting
37 0 - disabled
38 1 - pwrkey
39 2 - pwrkey+homekey
45 "^((power|home)|(key-[a-z0-9-]+|[a-z0-9-]+-key))$":
52 - description: Key press interrupt
53 - description: Key release interrupt
55 interrupt-names: true
57 linux-keycodes:
60 wakeup-source: true
63 - linux,keycodes
67 interrupt-names:
72 interrupt-names:
75 - const: powerkey
76 - const: powerkey_r
79 interrupt-names:
82 - const: homekey
83 - const: homekey_r
88 - compatible
93 - |
94 #include <dt-bindings/input/input.h>
95 #include <dt-bindings/interrupt-controller/arm-gic.h>
101 compatible = "mediatek,mt6397-keys";
102 mediatek,long-press-mode = <1>;
103 power-off-time-sec = <0>;
105 key-power {
107 wakeup-source;
110 key-home {