xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/max77650-onkey.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/input/max77650-onkey.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Onkey driver for MAX77650 PMIC from Maxim Integrated.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Bartosz Golaszewski <bgolaszewski@baylibre.com>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundescription: |
13*4882a593Smuzhiyun  This module is part of the MAX77650 MFD device. For more details
14*4882a593Smuzhiyun  see Documentation/devicetree/bindings/mfd/max77650.yaml.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  The onkey controller is represented as a sub-node of the PMIC node on
17*4882a593Smuzhiyun  the device tree.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunproperties:
20*4882a593Smuzhiyun  compatible:
21*4882a593Smuzhiyun    const: maxim,max77650-onkey
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun  linux,code:
24*4882a593Smuzhiyun    $ref: /schemas/types.yaml#/definitions/uint32
25*4882a593Smuzhiyun    description:
26*4882a593Smuzhiyun      The key-code to be reported when the key is pressed. Defaults
27*4882a593Smuzhiyun      to KEY_POWER.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun  maxim,onkey-slide:
30*4882a593Smuzhiyun    $ref: /schemas/types.yaml#/definitions/flag
31*4882a593Smuzhiyun    description:
32*4882a593Smuzhiyun      The system's button is a slide switch, not the default push button.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunrequired:
35*4882a593Smuzhiyun  - compatible
36*4882a593SmuzhiyunadditionalProperties: false
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun...
39