1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek PMIC Keys
10 - Chen Zhong <chen.zhong@mediatek.com>
16 There are two key functions provided by MT6397, MT6323 and other MediaTek
17 PMICs: pwrkey and homekey.
18 The key functions are defined as the subnode of the function node provided
19 by the PMIC that is defined as a Multi-Function Device (MFD).
21 For MediaTek MT6323/MT6397 PMIC bindings see
22 Documentation/devicetree/bindings/mfd/mt6397.txt
27 - mediatek,mt6323-keys
28 - mediatek,mt6331-keys
29 - mediatek,mt6357-keys
30 - mediatek,mt6358-keys
31 - mediatek,mt6397-keys
33 power-off-time-sec: true
35 mediatek,long-press-mode:
37 Key long-press force shutdown setting
41 $ref: /schemas/types.yaml#/definitions/uint32
46 "^((power|home)|(key-[a-z0-9-]+|[a-z0-9-]+-key))$":
53 - description: Key press interrupt
54 - description: Key release interrupt
86 unevaluatedProperties: false
91 unevaluatedProperties: false