xref: /freebsd/sys/contrib/device-tree/Bindings/input/max77650-onkey.yaml (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/input/max77650-onkey.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Onkey driver for MAX77650 PMIC from Maxim Integrated.
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Bartosz Golaszewski <bgolaszewski@baylibre.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  This module is part of the MAX77650 MFD device. For more details
14c66ec88fSEmmanuel Vadot  see Documentation/devicetree/bindings/mfd/max77650.yaml.
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadot  The onkey controller is represented as a sub-node of the PMIC node on
17c66ec88fSEmmanuel Vadot  the device tree.
18c66ec88fSEmmanuel Vadot
19*b97ee269SEmmanuel VadotallOf:
20*b97ee269SEmmanuel Vadot  - $ref: input.yaml#
21*b97ee269SEmmanuel Vadot
22c66ec88fSEmmanuel Vadotproperties:
23c66ec88fSEmmanuel Vadot  compatible:
24c66ec88fSEmmanuel Vadot    const: maxim,max77650-onkey
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  linux,code:
27*b97ee269SEmmanuel Vadot    default: 116  # KEY_POWER
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot  maxim,onkey-slide:
30c66ec88fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/flag
31c66ec88fSEmmanuel Vadot    description:
32c66ec88fSEmmanuel Vadot      The system's button is a slide switch, not the default push button.
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadotrequired:
35c66ec88fSEmmanuel Vadot  - compatible
36c66ec88fSEmmanuel VadotadditionalProperties: false
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot...
39