Merge branch 'timers/drivers/timer-ti' into timers/drivers/next
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / input / max77650-onkey.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/input/max77650-onkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Onkey driver for MAX77650 PMIC from Maxim Integrated.
8
9 maintainers:
10   - Bartosz Golaszewski <bgolaszewski@baylibre.com>
11
12 description: |
13   This module is part of the MAX77650 MFD device. For more details
14   see Documentation/devicetree/bindings/mfd/max77650.yaml.
15
16   The onkey controller is represented as a sub-node of the PMIC node on
17   the device tree.
18
19 properties:
20   compatible:
21     const: maxim,max77650-onkey
22
23   linux,code:
24     $ref: /schemas/types.yaml#/definitions/uint32
25     description:
26       The key-code to be reported when the key is pressed. Defaults
27       to KEY_POWER.
28
29   maxim,onkey-slide:
30     $ref: /schemas/types.yaml#/definitions/flag
31     description:
32       The system's button is a slide switch, not the default push button.
33
34 required:
35   - compatible
36 additionalProperties: false
37
38 ...